HomeSort by: relevance | last modified time | path
    Searched defs:passwd (Results 1 - 25 of 44) sorted by relevancy

1 2

  /src/etc/
nsswitch.conf 15 passwd: compat key
27 # passwd: compat, dns, files, nis
nsswitch.conf 15 passwd: compat key
27 # passwd: compat, dns, files, nis
  /src/sys/lib/libsa/
checkpasswd.c 112 char *passwd; local in function:check_password
123 passwd = getpass("Password: ");
125 MD5Update(&md5ctx, passwd, (u_int)strlen(passwd));
checkpasswd.c 112 char *passwd; local in function:check_password
123 passwd = getpass("Password: ");
125 MD5Update(&md5ctx, passwd, (u_int)strlen(passwd));
  /src/tools/compat/
compat_pwd.h 39 #define passwd __nbcompat_passwd macro
48 struct passwd { struct
61 int pw_scan(char *, struct passwd *, int *);
compat_pwd.h 39 #define passwd __nbcompat_passwd macro
48 struct passwd { struct
61 int pw_scan(char *, struct passwd *, int *);
  /src/usr.bin/chpass/
pw_yp.c 56 #define passwd yp_passwd_rec macro
58 #undef passwd
82 * Find the host for the passwd map; it should be running
86 if (yp_master(domain, "passwd.byname", &master) != 0) {
106 pw_yp(struct passwd *pw, uid_t ypuid)
122 * Find the host for the passwd map; it should be running
126 if ((r = yp_master(domain, "passwd.byname", &master)) != 0) {
208 master, "the master YP passwd server.");
223 errx(eval, "YP passwd information unchanged");
pw_yp.c 56 #define passwd yp_passwd_rec macro
58 #undef passwd
82 * Find the host for the passwd map; it should be running
86 if (yp_master(domain, "passwd.byname", &master) != 0) {
106 pw_yp(struct passwd *pw, uid_t ypuid)
122 * Find the host for the passwd map; it should be running
126 if ((r = yp_master(domain, "passwd.byname", &master)) != 0) {
208 master, "the master YP passwd server.");
223 errx(eval, "YP passwd information unchanged");
  /src/usr.bin/skey/
skey.c 44 char passwd[SKEY_MAX_PW_LEN+1], key[SKEY_BINKEY_SIZE]; local in function:main
58 if (strlcpy(passwd, optarg, sizeof(passwd)) >=
59 sizeof(passwd))
120 readpass(passwd, sizeof(passwd));
121 if (passwd[0] == '\0')
125 if (strlen(passwd) < SKEY_MIN_PW_LEN)
131 if (keycrunch(key, seed, passwd) != 0)
skey.c 44 char passwd[SKEY_MAX_PW_LEN+1], key[SKEY_BINKEY_SIZE]; local in function:main
58 if (strlcpy(passwd, optarg, sizeof(passwd)) >=
59 sizeof(passwd))
120 readpass(passwd, sizeof(passwd));
121 if (passwd[0] == '\0')
125 if (strlen(passwd) < SKEY_MIN_PW_LEN)
131 if (keycrunch(key, seed, passwd) != 0)
  /src/share/examples/emul/ultrix/etc/
svc.conf 19 passwd=local # Ultrix and native hashed passwds incompatible key
25 # NOTE: running Ultrix /etc/passwd is not good idea.
svc.conf 19 passwd=local # Ultrix and native hashed passwds incompatible key
25 # NOTE: running Ultrix /etc/passwd is not good idea.
  /src/lib/libcrypt/
crypt-sha1.c 114 static char passwd[(2 * sizeof(SHA1_MAGIC)) + local in function:__crypt_sha1
157 dl = snprintf(passwd, sizeof (passwd), "%.*s%s%u",
162 __hmac_sha1((unsigned char *)passwd, dl, pwu, pl, hmac_buf);
167 pl = snprintf(passwd, sizeof(passwd), "%s%u$%.*s$",
169 ep = passwd + pl;
188 return passwd;
crypt-sha1.c 114 static char passwd[(2 * sizeof(SHA1_MAGIC)) + local in function:__crypt_sha1
157 dl = snprintf(passwd, sizeof (passwd), "%.*s%s%u",
162 __hmac_sha1((unsigned char *)passwd, dl, pwu, pl, hmac_buf);
167 pl = snprintf(passwd, sizeof(passwd), "%s%u$%.*s$",
169 ep = passwd + pl;
188 return passwd;
md5crypt.c 42 static char passwd[120], *p; local in function:__md5crypt
98 memcpy(passwd, MD5_MAGIC, MD5_MAGIC_LEN);
99 strlcpy(passwd + MD5_MAGIC_LEN, sp, sl + 1);
100 strlcat(passwd, "$", sizeof(passwd));
135 p = passwd + sl + MD5_MAGIC_LEN + 1;
147 return (passwd);
md5crypt.c 42 static char passwd[120], *p; local in function:__md5crypt
98 memcpy(passwd, MD5_MAGIC, MD5_MAGIC_LEN);
99 strlcpy(passwd + MD5_MAGIC_LEN, sp, sl + 1);
100 strlcat(passwd, "$", sizeof(passwd));
135 p = passwd + sl + MD5_MAGIC_LEN + 1;
147 return (passwd);
  /src/sys/external/isc/libsodium/dist/test/default/
pwhash_argon2i.c 81 char passwd[256]; local in function:tv
88 sodium_hex2bin((unsigned char *) passwd, sizeof passwd,
93 if (crypto_pwhash(out, (unsigned long long) tests[i].outlen, passwd,
133 char passwd[256]; local in function:tv2
140 sodium_hex2bin((unsigned char *) passwd, sizeof passwd,
145 if (crypto_pwhash(out, (unsigned long long) tests[i].outlen, passwd,
192 const char *passwd; member in struct:tv3::__anon0e6d55c50308
209 char *passwd; local in function:tv3
235 const char *passwd = "Correct Horse Battery Staple"; local in function:str_tests
    [all...]
pwhash_argon2id.c 81 char passwd[256]; local in function:tv
88 sodium_hex2bin((unsigned char *) passwd, sizeof passwd,
93 if (crypto_pwhash(out, (unsigned long long) tests[i].outlen, passwd,
133 char passwd[256]; local in function:tv2
140 sodium_hex2bin((unsigned char *) passwd, sizeof passwd,
145 if (crypto_pwhash(out, (unsigned long long) tests[i].outlen, passwd,
188 const char *passwd; member in struct:tv3::__anondc18eda90308
205 char *passwd; local in function:tv3
231 const char *passwd = "Correct Horse Battery Staple"; local in function:str_tests
    [all...]
pwhash_scrypt.c 93 char passwd[256]; local in function:tv
100 sodium_hex2bin((unsigned char *) passwd, sizeof passwd,
106 out, (unsigned long long) tests[i].outlen, passwd,
142 char passwd[256]; local in function:tv2
149 sodium_hex2bin((unsigned char *) passwd, sizeof passwd,
155 out, (unsigned long long) tests[i].outlen, passwd,
169 const char *passwd; member in struct:tv3::__anon91de77b80308
278 char * passwd; local in function:tv3
303 const char *passwd = "Correct Horse Battery Staple"; local in function:str_tests
    [all...]
pwhash_argon2i.c 81 char passwd[256]; local in function:tv
88 sodium_hex2bin((unsigned char *) passwd, sizeof passwd,
93 if (crypto_pwhash(out, (unsigned long long) tests[i].outlen, passwd,
133 char passwd[256]; local in function:tv2
140 sodium_hex2bin((unsigned char *) passwd, sizeof passwd,
145 if (crypto_pwhash(out, (unsigned long long) tests[i].outlen, passwd,
192 const char *passwd; member in struct:tv3::__anon0e6d55c50308
209 char *passwd; local in function:tv3
235 const char *passwd = "Correct Horse Battery Staple"; local in function:str_tests
    [all...]
pwhash_argon2id.c 81 char passwd[256]; local in function:tv
88 sodium_hex2bin((unsigned char *) passwd, sizeof passwd,
93 if (crypto_pwhash(out, (unsigned long long) tests[i].outlen, passwd,
133 char passwd[256]; local in function:tv2
140 sodium_hex2bin((unsigned char *) passwd, sizeof passwd,
145 if (crypto_pwhash(out, (unsigned long long) tests[i].outlen, passwd,
188 const char *passwd; member in struct:tv3::__anondc18eda90308
205 char *passwd; local in function:tv3
231 const char *passwd = "Correct Horse Battery Staple"; local in function:str_tests
    [all...]
pwhash_scrypt.c 93 char passwd[256]; local in function:tv
100 sodium_hex2bin((unsigned char *) passwd, sizeof passwd,
106 out, (unsigned long long) tests[i].outlen, passwd,
142 char passwd[256]; local in function:tv2
149 sodium_hex2bin((unsigned char *) passwd, sizeof passwd,
155 out, (unsigned long long) tests[i].outlen, passwd,
169 const char *passwd; member in struct:tv3::__anon91de77b80308
278 char * passwd; local in function:tv3
303 const char *passwd = "Correct Horse Battery Staple"; local in function:str_tests
    [all...]
  /src/include/
pwd.h 72 #define _PATH_PASSWD "/etc/passwd"
73 #define _PATH_MASTERPASSWD "/etc/master.passwd"
76 #define _PATH_PASSWD_CONF "/etc/passwd.conf"
107 struct passwd { struct
122 struct passwd *getpwuid(uid_t) __RENAME(__getpwuid50);
123 struct passwd *getpwnam(const char *) __RENAME(__getpwnam50);
128 int getpwnam_r(const char *, struct passwd *, char *, size_t,
129 struct passwd **) __RENAME(__getpwnam_r50);
130 int getpwuid_r(uid_t, struct passwd *, char *, size_t,
131 struct passwd **) __RENAME(__getpwuid_r50)
    [all...]
  /src/usr.bin/skeyinit/
skeyinit.c 54 char passwd[SKEY_MAX_PW_LEN+2], passwd2[SKEY_MAX_PW_LEN+2], tbuf[27], buf[80]; local in function:main
58 struct passwd *pp;
112 strlcpy(passwd, optarg, sizeof(passwd));
113 strlcpy(passwd2, optarg, sizeof(passwd));
293 readpass(passwd, sizeof(passwd));
294 if (passwd[0] == '\0')
298 if (strlen(passwd) < SKEY_MIN_PW_LEN) {
302 } else if (strcmp(passwd, pp->pw_name) == 0)
    [all...]
  /src/usr.sbin/rpc.pcnfsd/
pcnfsd_test.c 28 char *passwd; local in function:main
41 passwd = argv[5];
58 test_v2_auth(host_name, user_name, passwd);

Completed in 73 milliseconds

1 2