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

/freebsd-10.0-release/lib/libpam/modules/pam_opieaccess/
H A Dpam_opieaccess.c57 struct passwd *pwent; local
67 pwent = getpwnam(luser);
68 if (pwent == NULL || opielookup(&opie, __DECONST(char *, luser)) != 0)
79 opiealways(pwent->pw_dir) != 0)
/freebsd-10.0-release/contrib/libarchive/cpio/
H A Dcmdline.c335 struct passwd *pwent; local
342 if ((pwent = getpwnam(user)) != NULL) {
343 *uid = pwent->pw_uid;
345 *gid = pwent->pw_gid;
H A Dcpio.c1349 struct passwd *pwent; local
1354 pwent = getpwuid((uid_t)id);
1355 if (pwent == NULL) {
1363 *name = pwent->pw_name;
/freebsd-10.0-release/contrib/libarchive/libarchive/
H A Darchive_read_disk_set_standard_lookup.c189 struct passwd pwent, *result; local
201 result = &pwent; /* Old getpwuid_r ignores last arg. */
202 r = getpwuid_r((uid_t)id, &pwent,
H A Darchive_write_disk_set_standard_lookup.c196 struct passwd pwent, *result; local
200 result = &pwent; /* Old getpwnam_r ignores last arg. */
201 r = getpwnam_r(uname, &pwent, buffer, bufsize, &result);
/freebsd-10.0-release/crypto/openssh/
H A Dmonitor.c753 struct passwd *pwent; local
764 pwent = getpwnamallow(username);
767 setproctitle("%s [priv]", pwent ? username : "unknown");
772 if (pwent == NULL) {
779 authctxt->pw = pwent;
783 buffer_put_string(m, pwent, sizeof(struct passwd));
784 buffer_put_cstring(m, pwent->pw_name);
787 buffer_put_cstring(m, pwent->pw_gecos);
790 buffer_put_cstring(m, pwent->pw_class);
792 buffer_put_cstring(m, pwent
[all...]
/freebsd-10.0-release/contrib/sqlite3/
H A Dshell.c2799 struct passwd *pwent; local
2801 if( (pwent=getpwuid(uid)) != NULL) {
2802 home_dir = pwent->pw_dir;
/freebsd-10.0-release/contrib/lukemftpd/src/
H A Dftpd.c3634 checkpassword(const struct passwd *pwent, const char *password) argument
3640 if (pwent == NULL)
3644 orig = pwent->pw_passwd; /* save existing password */
3645 expire = pwent->pw_expire;
3646 change = (pwent->pw_change == _PASSWORD_CHGNOW)? now : pwent->pw_change;

Completed in 178 milliseconds