Searched refs:pw_uid (Results 101 - 125 of 184) sorted by relevance

12345678

/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/global/
H A Dmail_params.c361 if ((var_default_uid = pwd->pw_uid) == 0)
381 if ((var_owner_uid = pwd->pw_uid) == 0)
/netbsd-6-1-5-RELEASE/usr.sbin/rpc.pcnfsd/
H A Dpcnfsd_v2.c142 r.uid = p->pw_uid;
396 next_r->id = p_passwd->pw_uid;
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/kcm/
H A Dconfig.c189 uid = pw->pw_uid; uid_p = 1;
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssh/dist/
H A Dauth-pam.c282 if (setreuid(sshpam_authctxt->pw->pw_uid, -1) == -1)
800 (sshpam_authctxt->pw->pw_uid == 0 &&
851 (sshpam_authctxt->pw->pw_uid != 0 ||
1214 if (!authctxt->valid || (authctxt->pw->pw_uid == 0 &&
/netbsd-6-1-5-RELEASE/crypto/external/cpl/trousers/dist/src/tcsd/
H A Dsvrside.c293 setuid(pwd->pw_uid);
/netbsd-6-1-5-RELEASE/dist/pf/usr.sbin/ftp-proxy/
H A Dftp-proxy.c287 setuid(pw->pw_uid) != 0)
293 setresuid(pw->pw_uid, pw->pw_uid, pw->pw_uid) != 0)
/netbsd-6-1-5-RELEASE/dist/smbfs/mount_smbfs/
H A Dmount_smbfs.c136 mdatap->uid = pwd->pw_uid;
/netbsd-6-1-5-RELEASE/external/apache2/mDNSResponder/dist/mDNSPosix/
H A DPosixDaemon.c306 setuid(pw->pw_uid);
/netbsd-6-1-5-RELEASE/external/bsd/cron/dist/
H A Ddatabase.c281 statbuf->st_uid != pw->pw_uid || strcmp(uname, pw->pw_name) != 0)) {
/netbsd-6-1-5-RELEASE/external/bsd/libbind/dist/irs/
H A Ddns_pw.c204 pvt->passwd.pw_uid = atoi(cp);
H A Dirp_pw.c232 if (pw->pw_name != NULL && pw->pw_uid == uid) {
H A Dlcl_pw.c300 SCALAR(pvt->passwd.pw_uid);
H A Dnis_pw.c244 pvt->passwd.pw_uid = atoi(cp);
/netbsd-6-1-5-RELEASE/lib/libutil/
H A Dlogin_cap.c636 if (snprintf(lp, 11, "/%u", pwd->pw_uid) > 10) {
642 if (chown(per_user_tmp, pwd->pw_uid,
673 if (sb.st_uid != pwd->pw_uid) {
675 pwd->pw_uid, pwd->pw_gid)) {
/netbsd-6-1-5-RELEASE/libexec/comsat/
H A Dcomsat.c268 setuid(p->pw_uid) == -1)
/netbsd-6-1-5-RELEASE/lib/libc/net/
H A Drcmd.c443 if (setuid(pw->pw_uid)) {
444 warn("%s: setuid(%lu)", __func__, (u_long)pw->pw_uid);
686 (void)seteuid(pwd->pw_uid);
701 else if (sbuf.st_uid && sbuf.st_uid != pwd->pw_uid)
/netbsd-6-1-5-RELEASE/lib/libpam/modules/pam_krb5/
H A Dpam_krb5.c450 if (seteuid(pwd->pw_uid)) {
465 asprintf(&cache_name_buf, "FILE:/tmp/krb5cc_%d", pwd->pw_uid);
485 sprintf(p, "%d", pwd->pw_uid);
565 if (chown(&cache_name[5], pwd->pw_uid, pwd->pw_gid) == -1) {
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/local/
H A Dlocal.h56 usr_attr.uid = pwd->pw_uid; usr_attr.gid = pwd->pw_gid; \
H A Drecipient.c186 && stat_as(mypwd->pw_dir, &st, mypwd->pw_uid, mypwd->pw_gid) < 0) {
/netbsd-6-1-5-RELEASE/usr.bin/wall/
H A Dwall.c109 if (geteuid() == 0 || (pw && getuid() == pw->pw_uid))
/netbsd-6-1-5-RELEASE/tests/lib/libc/sys/
H A Dt_chroot.c283 (void)setuid(pw->pw_uid);
H A Dt_msgsnd.c279 uid = pw->pw_uid;
/netbsd-6-1-5-RELEASE/usr.bin/newgrp/
H A Dgrutil.c331 if (setusercontext(lc, pwd, pwd->pw_uid, LOGIN_SETGID) == -1)
/netbsd-6-1-5-RELEASE/usr.sbin/user/
H A Duser.c276 if (pwp->pw_uid == 0) {
292 if (st.st_uid != pwp->pw_uid) {
298 (void)seteuid(pwp->pw_uid);
1568 pwp->pw_uid = up->u_uid;
1573 if (getgrgid((gid_t)(pwp->pw_uid)) != NULL) {
1581 pwp->pw_gid = pwp->pw_uid;
1663 pwp->pw_uid,
1734 login_name, pwp->pw_uid, pwp->pw_gid, pwp->pw_dir,
1739 login_name, newlogin, pwp->pw_uid, pwp->pw_gid,
2476 (void)printf("uid\t%d\n", pwp->pw_uid);
[all...]
/netbsd-6-1-5-RELEASE/lib/libtelnet/
H A Dkerberos5.c454 "FILE:/tmp/krb5cc_%u", pwd->pw_uid);
491 chown(ccname + 5, pwd->pw_uid, -1);

Completed in 342 milliseconds

12345678