Searched refs:pwent (Results 1 - 10 of 10) sorted by relevance

/netbsd-6-1-5-RELEASE/external/bsd/libarchive/dist/cpio/
H A Dcmdline.c327 struct passwd *pwent; local
334 if ((pwent = getpwnam(user)) != NULL) {
335 *uid = pwent->pw_uid;
337 *gid = pwent->pw_gid;
H A Dcpio.c1201 struct passwd *pwent; local
1206 pwent = getpwuid((uid_t)id);
1207 if (pwent == NULL) {
1214 *name = pwent->pw_name;
/netbsd-6-1-5-RELEASE/external/bsd/libarchive/dist/libarchive/
H A Darchive_read_disk_set_standard_lookup.c189 struct passwd pwent, *result; local
199 result = &pwent; /* Old getpwuid_r ignores last arg. */
200 r = getpwuid_r((uid_t)id, &pwent,
H A Darchive_write_disk_set_standard_lookup.c195 struct passwd pwent, *result; local
199 result = &pwent; /* Old getpwnam_r ignores last arg. */
200 r = getpwnam_r(uname, &pwent, buffer, bufsize, &result);
/netbsd-6-1-5-RELEASE/libexec/tftpd/
H A Dtftpd.c154 struct passwd *pwent; local
240 pwent = getpwuid((uid_t)nid);
242 pwent = getpwnam(tgtuser);
243 if (pwent == NULL) {
247 tgtuid = pwent->pw_uid;
248 tgtgid = pwent->pw_gid;
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssh/dist/
H A Dmonitor.c714 struct passwd *pwent; local
725 pwent = getpwnamallow(username);
728 setproctitle("%s [priv]", pwent ? username : "unknown");
733 if (pwent == NULL) {
740 authctxt->pw = pwent;
744 buffer_put_string(m, pwent, sizeof(struct passwd));
745 buffer_put_cstring(m, pwent->pw_name);
747 buffer_put_cstring(m, pwent->pw_gecos);
748 buffer_put_cstring(m, pwent->pw_class);
749 buffer_put_cstring(m, pwent
[all...]
/netbsd-6-1-5-RELEASE/external/public-domain/sqlite/dist/
H A Dshell.c2566 struct passwd *pwent; local
2568 if( (pwent=getpwuid(uid)) != NULL) {
2569 home_dir = pwent->pw_dir;
/netbsd-6-1-5-RELEASE/gnu/dist/gmake/
H A Dread.c2964 struct passwd *pwent;
2968 pwent = getpwnam (name + 1);
2969 if (pwent != 0)
2972 return xstrdup (pwent->pw_dir);
2974 return concat (pwent->pw_dir, "/", userend + 1);
2950 struct passwd *pwent; local
/netbsd-6-1-5-RELEASE/libexec/ftpd/
H A Dftpd.c3682 checkpassword(const struct passwd *pwent, const char *password) argument
3689 if (pwent == NULL)
3693 orig = pwent->pw_passwd; /* save existing password */
3694 expire = pwent->pw_expire;
3695 change = pwent->pw_change;
/netbsd-6-1-5-RELEASE/crypto/dist/ipsec-tools/misc/
H A Dcvs2cl.pl23 use User::pwent qw( getpwnam );

Completed in 289 milliseconds