/netbsd-6-1-5-RELEASE/sys/compat/ibcs2/ |
H A D | ibcs2_pwd.h | 39 int pw_uid; member in struct:ibcs2_passwd
|
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/global/ |
H A D | mypwd.h | 23 uid_t pw_uid; member in struct:mypasswd
|
H A D | mypwd.c | 92 mypwd->pw_uid = pwd->pw_uid; 98 binhash_enter(mypwcache_uid, (char *) &mypwd->pw_uid, 99 sizeof(mypwd->pw_uid), (char *) mypwd); 114 if (last_pwd->pw_uid != uid) { 183 binhash_delete(mypwcache_uid, (char *) &mypwd->pw_uid, 184 sizeof(mypwd->pw_uid), (void (*) (char *)) 0);
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssh/dist/ |
H A D | uidswap.c | 59 (u_int)pw->pw_uid, (u_int)pw->pw_gid, 86 if (seteuid(pw->pw_uid) == -1) 87 fatal("seteuid %u: %.100s", (u_int)pw->pw_uid, 126 debug("permanently_set_uid: %u/%u", (u_int)pw->pw_uid, 134 if (setuid(pw->pw_uid) < 0) 135 fatal("setuid %u: %.100s", (u_int)pw->pw_uid, strerror(errno)); 136 if (seteuid(pw->pw_uid) < 0) 137 fatal("seteuid %u: %.100s", (u_int)pw->pw_uid, strerror(errno)); 147 if (getuid() != pw->pw_uid || geteuid() != pw->pw_uid) { [all...] |
H A D | sshpty.c | 164 if (st.st_uid != pw->pw_uid || st.st_gid != gid) { 165 if (chown(tty, pw->pw_uid, gid) < 0) { 167 (st.st_uid == pw->pw_uid || st.st_uid == 0)) 169 tty, (u_int)pw->pw_uid, (u_int)gid, 173 tty, (u_int)pw->pw_uid, (u_int)gid,
|
/netbsd-6-1-5-RELEASE/external/bsd/openpam/dist/lib/ |
H A D | openpam_borrow_cred.c | 70 ENTERI(pwd->pw_uid); 77 if (geteuid() != 0 && geteuid() != pwd->pw_uid) { 98 if (geteuid() == pwd->pw_uid) 101 setegid(pwd->pw_gid) < 0 || seteuid(pwd->pw_uid) < 0) {
|
/netbsd-6-1-5-RELEASE/tools/compat/ |
H A D | compat_pwd.h | 51 int32_t pw_uid; member in struct:passwd
|
/netbsd-6-1-5-RELEASE/usr.bin/mail/ |
H A D | getname.c | 70 return pw->pw_uid;
|
/netbsd-6-1-5-RELEASE/lib/librpcsvc/ |
H A D | yppasswd.x | 47 int pw_uid; /* user id */
|
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/bin/confgen/unix/ |
H A D | os.c | 44 return (fchown(fileno(fd), pw->pw_uid, -1));
|
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/djgpp/ |
H A D | djpwd.h | 28 uid_t pw_uid; /* User ID. */ member in struct:passwd
|
H A D | getpwnam.c | 27 rv.pw_uid = getuid();
|
/netbsd-6-1-5-RELEASE/tests/util/id/ |
H A D | pwgr.c | 157 p->pw_uid = 0; 161 p->pw_uid = 100; 177 p->pw_uid = 0; 181 p->pw_uid = 100;
|
/netbsd-6-1-5-RELEASE/tests/lib/libc/sys/ |
H A D | t_setuid.c | 94 rv = setuid(pw->pw_uid); 101 if (uid != pw->pw_uid) 110 atf_tc_fail("failed to change UID to %u", pw->pw_uid);
|
/netbsd-6-1-5-RELEASE/lib/libc/compat/include/ |
H A D | pwd.h | 14 uid_t pw_uid; /* user uid */ member in struct:passwd50 30 q->pw_uid = p->pw_uid; 45 q->pw_uid = p->pw_uid;
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/roken/ |
H A D | get_default_username.c | 70 if (pwd != NULL && pwd->pw_uid == uid)
|
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/misc/ |
H A D | cvsuser.c | 33 pw.pw_uid = 100;
|
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/util/ |
H A D | chroot_uid.c | 58 uid = pwd->pw_uid;
|
/netbsd-6-1-5-RELEASE/usr.bin/su/ |
H A D | su.c | 184 pwd->pw_uid != ruid) 238 && (!use_kerberos || kerberos5(username, user, pwd->pw_uid)) 242 int ok = pwd->pw_uid != 0; 268 if (*pass && pwd->pw_uid != ruid) { /* XXX - OK? */ 321 if (ruid != pwd->pw_uid && 322 setusercontext(lc, pwd, pwd->pw_uid, LOGIN_SETGROUP) == -1) 327 if (setusercontext(lc, pwd, pwd->pw_uid, 332 if (setusercontext(lc, pwd, pwd->pw_uid, 341 if (ruid != pwd->pw_uid && initgroups(user, pwd->pw_gid) != 0) 346 if (setuid(pwd->pw_uid) [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/atf/dist/atf-run/ |
H A D | user.cpp | 70 return std::make_pair(pw->pw_uid, pw->pw_gid);
|
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/unit/atf-src/atf-run/ |
H A D | user.cpp | 68 return std::make_pair(pw->pw_uid, pw->pw_gid);
|
/netbsd-6-1-5-RELEASE/external/bsd/libarchive/dist/cpio/ |
H A D | cpio_windows.h | 48 uid_t pw_uid; member in struct:passwd
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/kdc/ |
H A D | main.c | 90 if (setuid(pw->pw_uid) < 0) 98 if (capng_change_id(pw->pw_uid, pw->pw_gid,
|
/netbsd-6-1-5-RELEASE/games/canfield/cfscores/ |
H A D | cfscores.c | 111 pos = pw->pw_uid * (off_t)sizeof(struct betinfo); 112 /* test pos, not pw_uid; uid_t can be unsigned, which makes gcc warn */ 114 warnx("Bad uid %d", (int)pw->pw_uid);
|
/netbsd-6-1-5-RELEASE/tests/kernel/kqueue/ |
H A D | t_proc2.c | 69 if ((setuid(pwd->pw_uid)) == -1) 70 err(EXIT_FAILURE, "setuid(%d)", pwd->pw_uid);
|