Home
last modified time | relevance | path

Searched refs:userid (Results 1 – 17 of 17) sorted by relevance

/dragonfly/usr.sbin/lpr/lpr/
HDlpr.c92 static int userid; /* user id */ variable
280 userid = getuid(); in main()
282 if (userid != 0 && userid != pp->daemon_user) in main()
287 if (userid != pp->daemon_user || lpr_username == NULL) { in main()
288 if ((pw = getpwuid(userid)) == NULL) in main()
297 if (pp->restrict_grp != NULL && userid != pp->daemon_user) { in main()
314 if (userid && stat(buf, &stb) == 0 && (stb.st_mode & LFM_QUEUE_DIS)) in main()
640 if (fchown(f, userid, -1) < 0) { in nfile()
771 if(stats.st_uid == userid) { in checkwriteperm()
/dragonfly/crypto/openssh/
HDssh-sk-client.c295 const char *application, const char *userid, uint8_t flags, in sshsk_enroll() argument
325 (r = sshbuf_put_cstring(req, userid)) != 0 || in sshsk_enroll()
404 u_char *userid = NULL; in sshsk_load_resident() local
431 (r = sshbuf_get_string(resp, &userid, &userid_len)) != 0) { in sshsk_load_resident()
446 srk->user_id = userid; in sshsk_load_resident()
448 userid = NULL; in sshsk_load_resident()
473 freezero(userid, userid_len); in sshsk_load_resident()
HDssh-sk.h51 const char *application, const char *userid, uint8_t flags,
HDscp.c446 uid_t userid; variable
651 if ((pwd = getpwuid(userid = getuid())) == NULL) in main()
652 fatal("unknown user %u", (u_int) userid); in main()
/dragonfly/games/larn/
HDscores.c178 if (winr[i].suid == userid) in hashewon()
203 if (winr[i].suid == userid) /* look for players winning entry */ in paytaxes()
417 if (sco[i].suid == userid) in newscore()
423 if (winr[i].suid == userid) { in newscore()
436 if (sco[i].suid == userid) { in newscore()
469 p->suid = userid; in new1sub()
494 p->suid = userid; in new2sub()
HDmain.c11 int userid; /* the players login user id number */ variable
218 userid = geteuid(); /* obtain the user's effective id number */ in main()
220 userid = getplid(logname); /* obtain the players id number */ in main()
222 if (userid < 0) { in main()
798 if (userid != wisid) { in parse()
HDREADME56 Note regarding the wizard id: If you are using userid's, then WIZID must be
57 set to the userid of the person who can become wizard. If you are using
HDheader.h348 extern int dayplay, enable_scroll, srcount, yrepcount, userid, wisid,
HDFixed.Bugs66 the game used the userid to order the scoreboard, thus only one scoreboard
67 entry was allowed for each userid. If the compile time symbol UIDSCORE
/dragonfly/usr.sbin/lpr/common_source/
HDcommon.c496 const char *userid, const char *otherhost, const char *orighost) in trstat_write() argument
560 if (*userid == '\0') in trstat_write()
561 userid = NULL; in trstat_write()
615 if (userid != NULL) { in trstat_write()
616 snprintf(eostat, remspace, " user=%s", userid); in trstat_write()
/dragonfly/usr.bin/top/
HDusername.h40 int userid(char *username);
HDusername.c137 userid(char *username) in userid() function
HDcommands.c826 else if ((i = userid(linebuf)) == -1) in cmd_user()
HDtop.c405 i = userid(optarg); in do_arguments()
/dragonfly/usr.sbin/lpr/lpd/
HDprintjob.c1415 sendmail(struct printer *pp, char *userid, int bombed) in sendmail() argument
1436 printf("To: %s@%s\n", userid, origin_host); in sendmail()
1478 syslog(LOG_WARNING, "unable to send mail to %s: %m", userid); in sendmail()
1485 userid, *jobname ? jobname : "<unknown>", pp->printer, cp); in sendmail()
/dragonfly/games/larn/datfiles/
HDlarn.help119 characters. Each player (by userid or playerid, see UIDSCORE in Makefile)
/dragonfly/contrib/tcp_wrappers/
HDCHANGES404 - The timeout period for remote userid lookups was upped to 30 seconds,
409 - On hosts with more than one IP network interface, remote userid