/src/etc/ |
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));
|
/src/tools/compat/ |
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");
|
/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)
|
/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.
|
/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;
|
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...] |
/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);
|
/src/sys/arch/sgimips/sgimips/ |
arcemu.c | 199 char passwd[17]; member in struct:arcemu_nvramdata
|
/src/usr.sbin/lastlogin/ |
lastlogin.c | 118 static void process_entry(struct passwd *, struct lastlog *); 122 static void process_entryx(struct passwd *, struct lastlogx *); 189 setpassent(1); /* Keep passwd file pointers open */ 200 setpassent(0); /* Close passwd file pointers */ 221 struct passwd *passwd; local in function:dolastlog 231 if ((passwd = getpwnam(argv[i])) == NULL) { 236 offset = passwd->pw_uid * sizeof(l); 242 warnx("fread error on '%s'", passwd->pw_name); 246 process_entry(passwd, &l) 307 struct passwd *passwd; local in function:dolastlogx [all...] |
/src/usr.bin/passwd/ |
yp_passwd.c | 62 #define passwd yp_passwd_rec macro 64 #undef passwd 79 errx(eval, "NIS passwd database unchanged"); 83 getnewpasswd(struct passwd *pw, char **old_pass) 153 makeypp(struct yppasswd *ypp, struct passwd *pw) 168 ypgetpwnam(const char *nam, struct passwd *pwd) 177 reason = yp_match(domain, "master.passwd.byname", nam, namlen, 180 reason = yp_match(domain, "passwd.byname", nam, namlen, 223 struct passwd pwb, pwb2, *pw; 272 * Find the host for the passwd map; it should be runnin [all...] |
/src/sbin/routed/rtquery/ |
rtquery.c | 120 char passwd[RIP_AUTH_PW_LEN]; variable in typeref:typename:char[] 257 if (!strcasecmp("passwd",optarg)) 264 passwd, sizeof(passwd))) 319 " [-a type=passwd] host1 [host2 ...]\n" 398 memcpy(NA0.au.au_pw, passwd, RIP_AUTH_PW_LEN); 416 (u_char *)passwd, RIP_AUTH_MD5_HASH_LEN); 766 MD5Update(&md5_ctx, (u_char *)passwd,
|
/src/usr.bin/getent/ |
getent.c | 77 static int passwd(int, char *[]); 102 { "passwd", passwd, }, 427 * passwd 431 passwd(int argc, char *argv[]) function in typeref:typename:int 433 struct passwd *pw;
|
/src/sys/dev/qbus/ |
if_qtreg.h | 220 char passwd[6]; member in struct:qt_init
|
/src/usr.bin/fstat/ |
fstat.c | 189 struct passwd *passwd; local in function:main 234 if (!(passwd = getpwnam(optarg))) { 238 arg = passwd->pw_uid;
|
/src/games/trek/ |
trek.h | 255 char passwd[15]; /* game password */ member in struct:Game_struct
|