HomeSort by: relevance | last modified time | path
    Searched defs:userid (Results 1 - 7 of 7) sorted by relevancy

  /src/external/bsd/top/dist/
username.c 138 userid(char *xusername) function
  /src/usr.bin/rdist/
main.c 77 uid_t userid; /* user's user ID */ variable
94 pw = getpwuid(userid = getuid());
200 seteuid(userid);
  /src/games/larn/
main.c 44 int userid; /* the players login user id number */ variable
239 userid = geteuid(); /* obtain the user's effective id number */
241 userid = getplid(logname); /* obtain the players id number */
243 if (userid < 0) {
843 if (userid != wisid) {
  /src/usr.sbin/lpr/lpr/
lpr.c 100 static int userid; /* user id */ variable
270 userid = getuid();
271 if (userid != DU || person == 0) {
272 if ((pw = getpwuid(userid)) == NULL)
279 if (RG != NULL && userid != DU) {
295 * Check to make sure queuing is enabled if userid is not root.
298 if (userid && stat(buf, &stb) == 0 && (stb.st_mode & S_IXGRP))
550 if (fchown(f, userid, -1) < 0) {
  /src/external/bsd/am-utils/dist/hlfsd/
stubs.c 308 uid_t userid = (uid_t) INVALIDID; local
318 if (getcreds(rqstp, &userid, &groupid, nfsxprt) < 0)
326 } else if (!(res.rlr_u.rlr_data_u = path_val = homedir(userid, groupid))) {
337 if (getcreds(rqstp, &userid, &groupid, nfsxprt) < 0) {
344 userid = xuserid;
346 if (!(res.rlr_u.rlr_data_u = mailbox(userid, username)))
354 if (userid != last_uid) {
356 (long) userid, (long) groupid, (char *) res.rlr_u.rlr_data_u);
357 last_uid = userid;
  /src/external/bsd/pam-u2f/dist/pamu2fcfg/
pamu2fcfg.c 56 unsigned char userid[32]; local
133 if (!random_bytes(userid, sizeof(userid))) {
141 for (size_t i = 0; i < sizeof(userid); i++)
142 fprintf(stderr, "%02x", userid[i]);
146 if ((r = fido_cred_set_user(cred, userid, sizeof(userid), user, user,
  /src/bin/rcp/
rcp.c 77 uid_t userid; variable
150 if ((pwd = getpwuid(userid = getuid())) == NULL)
151 errx(1, "unknown user %d", (int)userid);

Completed in 59 milliseconds