/original-bsd/bin/rcp/ |
H A D | util.c | 81 susystem(s, userid) in susystem() argument 82 int userid; in susystem() 95 (void)setuid(userid);
|
H A D | rcp.c | 65 uid_t userid; variable 159 if ((pwd = getpwuid(userid = getuid())) == NULL) 160 errx(1, "unknown user %d", (int)userid); 166 (void)setuid(userid); 172 (void)setuid(userid); 266 (void)susystem(bp, userid); 294 (void)setuid(userid); 318 if (susystem(bp, userid)) 352 (void)seteuid(userid);
|
/original-bsd/old/sh/ |
H A D | main.c | 105 REG INT userid; local 120 userid=getuid(); local 124 THEN dfault(&ps1nod, (userid?stdprompt:supprompt));
|
/original-bsd/usr.sbin/lpr/lpr/ |
H A D | lpr.c | 71 static int userid; /* user id */ variable 240 userid = getuid(); 241 if (userid != DU || person == 0) { 242 if ((pw = getpwuid(userid)) == NULL) 249 if (RG != NULL && userid != DU) { 266 if (userid && stat(buf, &stb) == 0 && (stb.st_mode & 010)) 482 if (fchown(f, userid, -1) < 0) {
|
/original-bsd/usr.bin/rdist/ |
H A D | main.c | 43 int userid; /* user's user ID */ variable 61 pw = getpwuid(userid = getuid()); 166 seteuid(userid);
|
H A D | server.c | 1010 extern int userid; 1012 uid = userid; 1013 if (userid == 0) { 1046 if (userid && gid >= 0) { 1296 extern int userid, groupid; 1315 setuid(userid);
|
H A D | docmd.c | 181 extern int userid; 226 seteuid(userid);
|
/original-bsd/games/larn/ |
H A D | scores.c | 151 if (winr[i].suid == userid) in hashewon() 174 if (winr[i].suid == userid) /* look for players winning entry */ 350 for (i=0; i<SCORESIZE; i++) if (sco[i].suid == userid) sco[i].score=0; 354 for (i=0; i<SCORESIZE; i++) if (winr[i].suid == userid) 363 for (i=0; i<SCORESIZE; i++) if (sco[i].suid == userid) 392 p->hardlev=c[HARDGAME]; p->suid=userid; 418 p->suid=userid; p->level=level;
|
H A D | main.c | 9 int userid; /* the players login user id number */ variable 158 userid = geteuid(); /* obtain the user's effective id number */ 160 userid = getplid(logname); /* obtain the players id number */ 162 if (userid < 0) { write(2,"Can't obtain playerid\n",22); exit(); } 561 if (userid!=wisid) in parse()
|
H A D | README | 56 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
|
H A D | header.h | 346 extern int dayplay,enable_scroll,srcount,yrepcount,userid,wisid,lfd,fd;
|
H A D | Fixed.Bugs | 66 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
|
/original-bsd/local/toolchest/ksh/sh/ |
H A D | defs.c | 80 int userid; variable
|
H A D | main.c | 120 userid=getuid(); 162 if(userid!=euserid || getgid()!=egroupid)
|
H A D | service.c | 485 if((euserid=geteuid()) != userid) 578 if((euserid=geteuid()) != userid)
|
H A D | defs.h | 366 extern int userid;
|
H A D | history.c | 138 if(userid==0 && login_sh) in hist_open()
|
H A D | macro.c | 568 if(userid)
|
/original-bsd/usr.sbin/sendmail/doc/op/ |
H A D | spell.ok | 618 userid
|
/original-bsd/games/larn/datfiles/ |
H A D | larn.help | 119 characters. Each player (by userid or playerid, see UIDSCORE in Makefile)
|
/original-bsd/usr.sbin/sendmail/cf/m4/ |
H A D | proto.m4 | 313 # default UID (can be username or userid:groupid)
|