/src/usr.bin/chpass/ |
chpass.h | 34 struct passwd; 38 int (*func)(const char *, struct passwd *, struct _entry *), restricted, len; 55 void display(char *, int, struct passwd *); 56 void edit(char *, struct passwd *); 59 int p_change(const char *, struct passwd *, ENTRY *); 60 int p_class(const char *, struct passwd *, ENTRY *); 61 int p_expire(const char *, struct passwd *, ENTRY *); 62 int p_gecos(const char *, struct passwd *, ENTRY *); 63 int p_gid(const char *, struct passwd *, ENTRY *); 64 int p_hdir(const char *, struct passwd *, ENTRY *) [all...] |
field.c | 58 p_login(const char *p, struct passwd *pw, ENTRY *ep) 85 p_passwd(const char *p, struct passwd *pw, ENTRY *ep) 98 p_uid(const char *p, struct passwd *pw, ENTRY *ep) 127 p_gid(const char *p, struct passwd *pw, ENTRY *ep) 161 p_class(const char *p, struct passwd *pw, ENTRY *ep) 174 p_change(const char *p, struct passwd *pw, ENTRY *ep) 185 p_expire(const char *p, struct passwd *pw, ENTRY *ep) 196 p_gecos(const char *p, struct passwd *pw, ENTRY *ep) 208 p_hdir(const char *p, struct passwd *pw, ENTRY *ep) 224 p_shell(const char *p, struct passwd *pw, ENTRY *ep [all...] |
/src/lib/libc/gen/ |
pw_private.h | 10 int __pw_scan(char *bp, struct passwd *pw, int *flags);
|
/src/usr.bin/newgrp/ |
grutil.h | 38 const char *, struct passwd *, uid_t, const char *);
|
/src/lib/libutil/compat/ |
util.h | 45 struct passwd; 63 void __pw_copy50(int, int, struct passwd *, struct passwd *); 64 int __pw_copyx50(int, int, struct passwd *, struct passwd *, 66 void __pw_getpwconf50(char *, size_t, const struct passwd *,
|
login_cap.h | 41 struct passwd; 46 login_cap_t *__login_getpwclass50(const struct passwd *); 48 int __setusercontext50(login_cap_t *, struct passwd *, uid_t, u_int);
|
compat_login_cap.c | 57 struct passwd pw; 66 struct passwd pw;
|
compat_passwd.c | 69 struct passwd px; 78 struct passwd pw, opw; 89 struct passwd pw, opw; 100 struct passwd px;
|
/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/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/lib/libc/compat/include/ |
pwd.h | 10 struct passwd; 26 passwd_to_passwd50(const struct passwd *p, struct passwd50 *q) 41 passwd50_to_passwd(const struct passwd50 *p, struct passwd *q) 76 struct passwd *__getpwuid50(uid_t); 77 struct passwd *__getpwnam50(const char *); 80 int __getpwnam_r50(const char *, struct passwd *, char *, size_t, 81 struct passwd **); 82 int __getpwuid_r50(uid_t, struct passwd *, char *, size_t, 83 struct passwd **); 86 struct passwd *__getpwent50(void) [all...] |
/src/usr.bin/mail/ |
getname.c | 44 /* Getname / getuserid for those with hashed passwd data base). */ 47 * Search the passwd file for a uid. Return name on success, NULL on failure 52 struct passwd *pw; 66 struct passwd *pw;
|
/src/sys/external/isc/libsodium/dist/test/default/ |
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_scrypt_ll.c | 24 tv(const char *passwd, const char *salt, uint64_t N, uint32_t r, uint32_t p) 29 size_t passwd_len = strlen(passwd); 34 (const uint8_t *) passwd, passwd_len, (const uint8_t *) salt, 36 printf("pwhash_scryptsalsa208sha256_ll([%s],[%s]) failure\n", passwd, 41 printf("scrypt('%s', '%s', %lu, %lu, %lu, %lu) =\n", passwd, salt,
|
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...] |
/src/etc/ |
nsswitch.conf | 15 passwd: compat key 27 # passwd: compat, dns, files, nis
|
/src/usr.bin/finger/ |
extern.h | 45 PERSON *enter_person(struct passwd *); 51 int match(struct passwd *, char *);
|
/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/sys/external/isc/libsodium/dist/src/libsodium/crypto_pwhash/ |
crypto_pwhash.c | 130 const char * const passwd, unsigned long long passwdlen, 136 return crypto_pwhash_argon2i(out, outlen, passwd, passwdlen, salt, 139 return crypto_pwhash_argon2id(out, outlen, passwd, passwdlen, salt, 149 const char * const passwd, unsigned long long passwdlen, 152 return crypto_pwhash_argon2id_str(out, passwd, passwdlen, 158 const char * const passwd, unsigned long long passwdlen, 163 return crypto_pwhash_argon2i_str(out, passwd, passwdlen, 166 return crypto_pwhash_argon2id_str(out, passwd, passwdlen, 175 const char * const passwd, 180 return crypto_pwhash_argon2id_str_verify(str, passwd, passwdlen) [all...] |
/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;
|
/src/common/dist/zlib/contrib/minizip/ |
crypt.h | 64 static void init_keys(const char* passwd, unsigned long* pkeys, const z_crc_t* pcrc_32_tab) { 68 while (*passwd != '\0') { 69 update_keys(pkeys,pcrc_32_tab,(int)*passwd); 70 passwd++; 88 static unsigned crypthead(const char* passwd, /* password string */ 111 init_keys(passwd, pkeys, pcrc_32_tab); 118 init_keys(passwd, pkeys, pcrc_32_tab);
|
/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/usr.bin/passwd/ |
Makefile | 7 PROG= passwd 8 SRCS= local_passwd.c passwd.c 9 MAN= passwd.1 18 LINKS+= ${BINDIR}/passwd ${BINDIR}/yppasswd 35 LINKS+= ${BINDIR}/passwd ${BINDIR}/kpasswd
|
/src/distrib/utils/libhack/ |
getpwent.c | 35 * and then gutted, leaving only /etc/master.passwd support. 72 static int pwscan(int, uid_t, const char *, struct passwd *, 74 static int pwmatchline(int, uid_t, const char *, struct passwd *, 78 static struct passwd _pw_passwd; /* password structure */ 86 struct passwd * 97 getpwent_r(struct passwd *pwres, char *buf, size_t bufsiz, 98 struct passwd **pwd) 112 struct passwd * 115 struct passwd *pwd; 121 getpwnam_r(const char *name, struct passwd *pwres, char *buf, size_t bufsiz [all...] |