/freebsd-10.0-release/contrib/openpam/bin/su/ |
H A D | su.c | 168 if (setuid(pwd->pw_uid) == -1) {
|
/freebsd-10.0-release/crypto/heimdal/lib/gssapi/mech/ |
H A D | gss_pname_to_uid.c | 121 *uidp = pwd->pw_uid;
|
/freebsd-10.0-release/crypto/openssh/ |
H A D | session.c | 399 if (channel_input_port_forward_request(s->pw->pw_uid == 0, 876 record_login(pid, s->tty, pw->pw_name, pw->pw_uid, 1194 (void) setusercontext(lc, pw, pw->pw_uid, 1210 read_etc_default_login(&env, &envsize, pw->pw_uid); 1215 s->pw->pw_uid == 0 ? 1412 if (login_getcapbool(lc, "ignorenologin", 0) || pw->pw_uid == 0) 1416 if (pw->pw_uid == 0) 1501 if (setusercontext(lc, pw, pw->pw_uid, 1526 pw->pw_uid); 1529 safely_chroot(chroot_path, pw->pw_uid); [all...] |
H A D | auth1.c | 322 if (authenticated && authctxt->pw->pw_uid == 0 && 425 authctxt->pw->pw_uid != getuid())
|
H A D | auth.c | 408 user_hostfile = tilde_expand_filename(userfile, pw->pw_uid); 411 ((st.st_uid != 0 && st.st_uid != pw->pw_uid) || 529 return auth_secure_path(file, &st, pw->pw_dir, pw->pw_uid, err, errlen); 750 fake.pw_uid = privsep_pw == NULL ? (uid_t)-1 : privsep_pw->pw_uid;
|
/freebsd-10.0-release/lib/libutil/ |
H A D | pw_util.c | 385 pw1->pw_uid == pw2->pw_uid && 404 pw->pw_passwd, (uintmax_t)pw->pw_uid, (uintmax_t)pw->pw_gid, 419 (uintmax_t)pw->pw_uid, (uintmax_t)pw->pw_gid,
|
H A D | login_cap.c | 215 (void)seteuid(pwd->pw_uid); 220 if (_secure_path(userpath, pwd->pw_uid, pwd->pw_gid) != -1) 329 cls = (pwd->pw_uid == 0) ? LOGIN_DEFROOTCLASS : LOGIN_DEFCLASS;
|
/freebsd-10.0-release/sbin/mknod/ |
H A D | mknod.c | 105 return ((pw = getpwnam(s)) == NULL) ? id(s, "user") : pw->pw_uid;
|
/freebsd-10.0-release/usr.bin/calendar/ |
H A D | calendar.c | 207 (void)seteuid(pw->pw_uid);
|
/freebsd-10.0-release/usr.bin/renice/ |
H A D | renice.c | 103 who = pwd->pw_uid;
|
/freebsd-10.0-release/usr.sbin/bluetooth/sdpd/ |
H A D | main.c | 172 uid = pwd->pw_uid;
|
/freebsd-10.0-release/usr.sbin/chroot/ |
H A D | chroot.c | 148 uid = pw->pw_uid;
|
/freebsd-10.0-release/usr.sbin/jexec/ |
H A D | jexec.c | 123 if (setusercontext(lcap, pwd, pwd->pw_uid,
|
/freebsd-10.0-release/usr.sbin/pw/ |
H A D | pw_vpw.c | 84 if (uid == pw->pw_uid)
|
/freebsd-10.0-release/usr.sbin/pwd_mkdb/ |
H A D | pwd_mkdb.c | 263 /* jump over pw_name and pw_passwd, to get to pw_uid */ 329 * character. The second key is the pw_uid field prepended by the 382 SCALAR(pwd.pw_uid); 397 SCALAR(pwd.pw_uid); 426 store = htonl(pwd.pw_uid); 450 store = htonl(pwd.pw_uid); 472 LSCALAR(pwd.pw_uid); 487 LSCALAR(pwd.pw_uid); 516 store = HTOL(pwd.pw_uid); 540 store = HTOL(pwd.pw_uid); [all...] |
/freebsd-10.0-release/bin/pax/ |
H A D | cache.c | 356 *uid = pw->pw_uid; 366 *uid = ptr->uid = pw->pw_uid;
|
/freebsd-10.0-release/contrib/libarchive/libarchive/ |
H A D | archive_write_disk_set_standard_lookup.c | 214 uid = result->pw_uid; 223 uid = result->pw_uid;
|
/freebsd-10.0-release/contrib/mtree/ |
H A D | getid.c | 407 _pw_passwd.pw_uid = (uid_t)id; 408 if (search && name == NULL && _pw_passwd.pw_uid != uid)
|
/freebsd-10.0-release/crypto/heimdal/appl/kf/ |
H A D | kfd.c | 230 if (setuid(pwd->pw_uid) < 0) { 239 (unsigned long)pwd->pw_uid);
|
/freebsd-10.0-release/crypto/heimdal/lib/krb5/ |
H A D | kuserok.c | 70 if (st.st_uid != pwd->pw_uid && st.st_uid != 0) { 129 if (st.st_uid != pwd->pw_uid && st.st_uid != 0)
|
/freebsd-10.0-release/usr.bin/finger/ |
H A D | finger.c | 167 if ((pw = getpwnam(UNPRIV_NAME)) && pw->pw_uid > 0) { 170 if (setuid(pw->pw_uid) != 0)
|
/freebsd-10.0-release/crypto/heimdal/appl/rsh/ |
H A D | rshd.c | 150 if (iruserok(thataddr->sin_addr.s_addr, pwd->pw_uid == 0, 717 if (pwd->pw_uid != 0 && access (_PATH_NOLOGIN, F_OK) == 0) 760 if(pwd->pw_uid != 0) { 771 if (setuid (pwd->pw_uid) < 0) 792 (unsigned long)pwd->pw_uid); 830 pwd->pw_uid, pwd->pw_dir); 832 pwd->pw_uid, pwd->pw_dir);
|
/freebsd-10.0-release/contrib/libc-pwcache/ |
H A D | pwcache.c | 443 *uid = pw->pw_uid; 452 *uid = ptr->uid = pw->pw_uid; 594 foo.pw_uid = 666;
|
/freebsd-10.0-release/contrib/amd/amd/ |
H A D | ops_pcfs.c | 166 pcfs_args.uid = pw->pw_uid;
|
/freebsd-10.0-release/contrib/libarchive/cpio/ |
H A D | cmdline.c | 343 *uid = pwent->pw_uid;
|