| /freebsd-12.1/contrib/amd/hlfsd/ |
| H A D | stubs.c | 302 uid_t userid = (uid_t) INVALIDID; in nfsproc_readlink_2_svc() local 312 if (getcreds(rqstp, &userid, &groupid, nfsxprt) < 0) in nfsproc_readlink_2_svc() 320 } else if (!(res.rlr_u.rlr_data_u = path_val = homedir(userid, groupid))) { in nfsproc_readlink_2_svc() 331 if (getcreds(rqstp, &userid, &groupid, nfsxprt) < 0) { in nfsproc_readlink_2_svc() 336 memcpy(&userid, argp->fh_data, sizeof(userid)); in nfsproc_readlink_2_svc() 338 if (!(res.rlr_u.rlr_data_u = mailbox(userid, username))) in nfsproc_readlink_2_svc() 346 if (userid != last_uid) { in nfsproc_readlink_2_svc() 348 (long) userid, (long) groupid, (char *) res.rlr_u.rlr_data_u); in nfsproc_readlink_2_svc() 349 last_uid = userid; in nfsproc_readlink_2_svc()
|
| H A D | homedir.c | 79 homedir(int userid, int groupid) in homedir() argument 88 if ((found = plt_search(userid)) == (uid2home_t *) NULL) { in homedir() 97 if ((int) userid == 0) /* force all uid 0 to use root's home */ in homedir() 177 if ((old_userid = seteuid(userid)) < 0) { in homedir() 178 plog(XLOG_WARNING, "could not seteuid to %d: %m", userid); in homedir()
|
| /freebsd-12.1/contrib/apr/include/ |
| H A D | apr_user.h | 66 APR_DECLARE(apr_status_t) apr_uid_current(apr_uid_t *userid, 77 APR_DECLARE(apr_status_t) apr_uid_name_get(char **username, apr_uid_t userid, 88 APR_DECLARE(apr_status_t) apr_uid_get(apr_uid_t *userid, apr_gid_t *groupid,
|
| /freebsd-12.1/usr.sbin/lpr/lpr/ |
| H A D | lpr.c | 109 static int userid; /* user id */ variable 290 userid = getuid(); in main() 292 if (userid != 0 && userid != pp->daemon_user) in main() 297 if (userid != pp->daemon_user || lpr_username == 0) { in main() 298 if ((pw = getpwuid(userid)) == NULL) in main() 307 if (pp->restrict_grp != NULL && userid != pp->daemon_user) { in main() 324 if (userid && stat(buf, &stb) == 0 && (stb.st_mode & LFM_QUEUE_DIS)) in main() 650 if (fchown(f, userid, -1) < 0) { in nfile() 781 if(stats.st_uid == userid) { in checkwriteperm()
|
| /freebsd-12.1/contrib/apr/user/unix/ |
| H A D | userinfo.c | 120 APR_DECLARE(apr_status_t) apr_uid_name_get(char **username, apr_uid_t userid, in apr_uid_name_get() argument 129 rv = getpwuid_r(userid, &pwd, pwbuf, sizeof(pwbuf), &pw); in apr_uid_name_get() 140 if ((pw = getpwuid(userid)) == NULL) { in apr_uid_name_get()
|
| /freebsd-12.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/scripting/ |
| H A D | tst.uid.ksh | 72 userid=`ps -x -o pid,uid | grep "$$ " | awk '{print $2}' 2>/dev/null` 78 $dfilename $userid >/dev/null 2>&1
|
| H A D | tst.euid.ksh | 72 userid=`ps -x -o pid,uid | grep "$$ " | awk '{print $2}' 2>/dev/null` 78 $dfilename $userid >/dev/null 2>&1
|
| /freebsd-12.1/usr.sbin/lpr/common_source/ |
| H A D | common.c | 563 const char *userid, const char *otherhost, const char *orighost) in trstat_write() argument 627 if (*userid == '\0') in trstat_write() 628 userid = NULL; in trstat_write() 682 if (userid != NULL) { in trstat_write() 683 snprintf(eostat, remspace, " user=%s", userid); in trstat_write()
|
| /freebsd-12.1/usr.bin/top/ |
| H A D | username.h | 20 int userid(char *username);
|
| H A D | username.c | 73 userid(char username_[]) in userid() function
|
| H A D | top.c | 190 if ((uid = userid(buf2)) == -1) in handle_user() 322 if ((ps.uid[0] = userid(optarg)) == -1) in main()
|
| /freebsd-12.1/usr.sbin/pw/ |
| H A D | pw_user.c | 1191 char *gecos, *homedir, *skel, *walk, *userid, *groupid, *grname; in pw_user_add() local 1204 gecos = homedir = skel = userid = groupid = default_passwd = NULL; in pw_user_add() 1232 userid = optarg; in pw_user_add() 1343 if (userid != NULL) { in pw_user_add() 1344 if ((p = strtok(userid, ", \t")) != NULL) in pw_user_add() 1368 if (userid) in pw_user_add() 1369 id = pw_checkid(userid, UID_MAX); in pw_user_add()
|
| /freebsd-12.1/crypto/heimdal/appl/rcp/ |
| H A D | rcp.c | 36 uid_t userid; variable 110 if ((pwd = getpwuid(userid = getuid())) == NULL) in main() 111 errx(1, "unknown user %d", (int)userid); in main()
|
| /freebsd-12.1/usr.sbin/lpr/lpd/ |
| H A D | printjob.c | 1561 sendmail(struct printer *pp, char *userid, int bombed) in sendmail() argument 1582 printf("To: %s@%s\n", userid, origin_host); in sendmail() 1624 syslog(LOG_WARNING, "unable to send mail to %s: %m", userid); in sendmail() 1631 userid, *jobname ? jobname : "<unknown>", pp->printer, cp); in sendmail()
|
| /freebsd-12.1/crypto/openssh/ |
| H A D | scp.c | 377 uid_t userid; variable 516 if ((pwd = getpwuid(userid = getuid())) == NULL) in main() 517 fatal("unknown user %u", (u_int) userid); in main()
|
| /freebsd-12.1/share/doc/smm/01.setup/ |
| H A D | spell.ok | 578 userid
|
| /freebsd-12.1/contrib/ntp/ntpd/ |
| H A D | ntpdbase-opts.def | 353 descrip = "Run as userid (or userid:groupid)";
|
| H A D | invoke-ntpd.texi | 551 This is the ``run as userid (or userid:groupid)'' option.
|
| /freebsd-12.1/crypto/heimdal/lib/hdb/ |
| H A D | hdb-ldap.c | 835 const char *userid, in LDAP__lookup_princ() argument 883 if (userid && ldap_count_entries(HDB2LDAP(db), *msg) == 0) { in LDAP__lookup_princ() 889 ret = escape_value(context, userid, "e); in LDAP__lookup_princ()
|
| /freebsd-12.1/contrib/tcp_wrappers/ |
| H A D | CHANGES | 404 - The timeout period for remote userid lookups was upped to 30 seconds, 409 - On hosts with more than one IP network interface, remote userid
|
| /freebsd-12.1/crypto/heimdal/ |
| H A D | ChangeLog | 19 Hence a 7-letter userid in "cern.ch" which resulted in a ticket of
|
| /freebsd-12.1/contrib/sendmail/cf/cf/ |
| H A D | submit.cf | 332 # default UID (can be username or userid:groupid)
|
| /freebsd-12.1/tools/tools/sysdoc/ |
| H A D | tunables.mdoc | 1897 for userid matching, or
|
| /freebsd-12.1/crypto/heimdal/doc/ |
| H A D | setup.texi | 1579 princ1 = GeneralString:userid
|
| /freebsd-12.1/contrib/sendmail/cf/m4/ |
| H A D | proto.m4 | 470 # default UID (can be username or userid:groupid)
|