Searched refs:pw (Results 201 - 225 of 242) sorted by relevance

12345678910

/freebsd-9.3-release/usr.bin/yacc/test/
H A Dftp.y49 extern struct passwd *pw;
276 cwd(pw->pw_dir);
827 (pw ? pw -> pw_name : "unknown"), timeout, ctime(&now));
/freebsd-9.3-release/usr.sbin/
H A DMakefile66 pw \
/freebsd-9.3-release/usr.sbin/adduser/
H A Drmuser.sh36 PWCMD="${PWCMD:-/usr/sbin/pw}"
164 # of the pw(8) command to remove a user from the system. The pw(8)
316 userrec=`pw 2>/dev/null usershow -n $_user`
/freebsd-9.3-release/usr.sbin/mountd/
H A Dmountd.c2824 struct passwd *pw; local
2842 pw = getpwuid(atoi(name));
2844 pw = getpwnam(name);
2849 if (pw == NULL) {
2853 cr->cr_uid = pw->pw_uid;
2855 if (getgrouplist(pw->pw_name, pw->pw_gid, groups, &ngroups))
2870 if (pw != NULL)
2871 cr->cr_uid = pw->pw_uid;
/freebsd-9.3-release/contrib/cvs/src/
H A Dserver.c5383 struct passwd *pw;
5385 pw = getpwnam (username);
5386 if (pw == NULL)
5397 if (pw->pw_uid == 0)
5412 if (initgroups (pw->pw_name, pw->pw_gid) < 0
5447 if (setgid (pw->pw_gid) < 0)
5454 pw->pw_gid, getuid(), getgid(), geteuid(), getegid());
5462 if (setuid (pw->pw_uid) < 0)
5474 pw
5363 struct passwd *pw; local
5669 struct passwd *pw; local
[all...]
/freebsd-9.3-release/crypto/heimdal/lib/auth/sia/
H A Dsia.c110 struct passwd pw, *pwd; local
128 if(getpwnam_r(name, &pw, pwbuf, sizeof(pwbuf), &pwd) != 0 || pwd == NULL){
/freebsd-9.3-release/sbin/dhclient/
H A Ddhclient.c344 struct passwd *pw; local
448 if ((pw = getpwnam("_dhcp")) == NULL) {
450 if ((pw = getpwnam("nobody")) == NULL)
484 if (setgroups(1, &pw->pw_gid) ||
485 setegid(pw->pw_gid) || setgid(pw->pw_gid) ||
486 seteuid(pw->pw_uid) || setuid(pw->pw_uid))
/freebsd-9.3-release/usr.bin/top/
H A Dmachine.c295 struct passwd *pw; local
311 while ((pw = getpwent()) != NULL) {
312 if (strlen(pw->pw_name) > namelength)
313 namelength = strlen(pw->pw_name);
/freebsd-9.3-release/contrib/tcsh/
H A Dsh.exp.c637 struct passwd *pw; local
907 if (altout && (pw = xgetpwuid(st->st_uid))) {
909 return(Strsave(str2short(pw->pw_name)));
H A Dsh.c620 struct passwd *pw; local
631 if ((pw = xgetpwuid(euid)) == NULL)
634 setcopy(STReuser, str2short(pw->pw_name), VAR_READWRITE);
646 else if ((pw = xgetpwuid(uid)) == NULL)
649 setcopy(STRuser, str2short(pw->pw_name), VAR_READWRITE);
H A Dtc.os.c1616 cygwin_xcrypt(struct passwd *pw, const char *password, const char *expected_pwd) argument
1619 HANDLE token = cygwin_logon_user(pw, password);
/freebsd-9.3-release/crypto/heimdal/appl/ftp/ftpd/
H A Dftpcmd.y356 cwd(pw->pw_dir);
1131 (pw ? pw -> pw_name : "unknown"), ftpd_timeout);
/freebsd-9.3-release/gnu/usr.bin/rcs/lib/
H A Drcsutil.c366 struct passwd const *pw = getpwuid(ruid()); local
367 if (!pw)
371 name = pw->pw_name;
/freebsd-9.3-release/sbin/fsck_ffs/
H A Dinode.c600 struct passwd *pw; local
608 if ((pw = getpwuid((int)DIP(dp, di_uid))) != 0)
609 printf("%s ", pw->pw_name);
/freebsd-9.3-release/sys/boot/ficl/
H A Dwords.c1164 UNS32 *pw; local
1168 pw = (UNS32 *)stackPopPtr(pVM->pStack);
1169 PUSHUNS((FICL_UNS)*pw);
1175 UNS32 *pw; local
1179 pw = (UNS32 *)stackPopPtr(pVM->pStack);
1180 *pw = (UNS32)(stackPop(pVM->pStack).u);
1185 UNS16 *pw; local
1189 pw = (UNS16 *)stackPopPtr(pVM->pStack);
1190 PUSHUNS((FICL_UNS)*pw);
1196 UNS16 *pw; local
[all...]
/freebsd-9.3-release/usr.bin/stat/
H A Dstat.c591 struct passwd *pw; local
689 if ((pw = getpwuid(st->st_uid)) != NULL)
690 sdata = pw->pw_name;
/freebsd-9.3-release/usr.sbin/edquota/
H A Dedquota.c341 struct passwd *pw; local
348 if ((pw = getpwnam(name)))
349 return (pw->pw_uid);
/freebsd-9.3-release/contrib/telnet/telnet/
H A Dcommands.c2486 struct passwd *pw;
2490 ((pw = getpwnam(user)) && pw->pw_uid != getuid())) {
2491 if ((pw = getpwuid(getuid())))
2492 user = pw->pw_name;
2478 struct passwd *pw; local
/freebsd-9.3-release/crypto/heimdal/lib/hx509/
H A Dcrypto.c2391 const struct _hx509_password *pw; local
2428 pw = _hx509_lock_get_passwords(lock);
2431 for (i = 0; i < pw->len + 1; i++) {
2435 if (i < pw->len)
2436 password = pw->val[i];
2437 else if (i < pw->len + 1)
/freebsd-9.3-release/bin/sh/
H A Dexpand.c315 struct passwd *pw; local
345 if ((pw = getpwnam(startp+1)) == NULL)
347 home = pw->pw_dir;
/freebsd-9.3-release/crypto/heimdal/appl/ftp/ftp/
H A Dftp.c173 struct passwd *pw = k_getpwuid(getuid()); local
175 if (pw != NULL)
176 myname = pw->pw_name;
/freebsd-9.3-release/libexec/ftpd/
H A Dftpcmd.y1268 (pw ? pw -> pw_name : "unknown"), timeout);
1698 user = pw->pw_name;
/freebsd-9.3-release/sys/geom/
H A Dgeom_subr.c779 int pr,pw,pe; local
811 pw = pp->acw - cp->acw;
825 else if (dce > 0 && pw > 0)
/freebsd-9.3-release/crypto/openssh/
H A Dservconf.c667 struct passwd *pw; local
672 if ((pw = getpwnam(user)) == NULL) {
675 } else if (ga_init(pw->pw_name, pw->pw_gid) == 0) {
/freebsd-9.3-release/sys/dev/pci/
H A Dpci_pci.c135 pcib_is_window_open(struct pcib_window *pw) argument
138 return (pw->valid && pw->base < pw->limit);

Completed in 425 milliseconds

12345678910