/original-bsd/libexec/rexecd/ |
H A D | rexecd.c | 183 if (*pwd->pw_shell == '\0') 184 pwd->pw_shell = _PATH_BSHELL; 193 strncat(shell, pwd->pw_shell, sizeof(shell)-7); 195 cp = strrchr(pwd->pw_shell, '/'); 199 cp = pwd->pw_shell; 200 execl(pwd->pw_shell, cp, "-c", cmdbuf, 0); 201 perror(pwd->pw_shell);
|
/original-bsd/usr.bin/chpass/ |
H A D | edit.c | 84 *pw->pw_shell ? pw->pw_shell : _PATH_BSHELL); 87 else if (ok_shell(pw->pw_shell)) 93 *pw->pw_shell ? pw->pw_shell : _PATH_BSHELL); 182 pw->pw_shell) >= sizeof(buf)) {
|
H A D | field.c | 221 pw->pw_shell = _PATH_BSHELL; 225 if (uid && pw->pw_shell && !ok_shell(pw->pw_shell)) { 226 warnx("%s: current shell non-standard", pw->pw_shell); 237 if (!(pw->pw_shell = strdup(p))) {
|
H A D | pw_copy.c | 67 pw->pw_dir, pw->pw_shell); 76 pw->pw_dir, pw->pw_shell);
|
/original-bsd/old/athena/ksu/ |
H A D | ksu.c | 151 if (pwd->pw_shell && *pwd->pw_shell) 152 shell = strcpy(shellbuf, pwd->pw_shell); 262 if (!chshell(pwd->pw_shell) && ruid) { 270 if (pwd->pw_shell && *pwd->pw_shell) { 271 shell = pwd->pw_shell;
|
/original-bsd/usr.bin/su/ |
H A D | su.c | 111 if (pwd->pw_shell && *pwd->pw_shell) 112 shell = strcpy(shellbuf, pwd->pw_shell); 156 if (!chshell(pwd->pw_shell) && ruid) 158 } else if (pwd->pw_shell && *pwd->pw_shell) { 159 shell = pwd->pw_shell;
|
/original-bsd/usr.sbin/pwd_mkdb/ |
H A D | pw_scan.c | 77 if (!(pw->pw_shell = strsep(&bp, ":"))) /* shell */ 80 p = pw->pw_shell;
|
H A D | pwd_mkdb.c | 163 COMPACT(pwd.pw_shell); 194 pwd.pw_dir, pwd.pw_shell); 226 COMPACT(pwd.pw_shell);
|
/original-bsd/usr.bin/login/ |
H A D | login.c | 327 if (*pwd->pw_shell == '\0') 328 pwd->pw_shell = _PATH_BSHELL; 334 (void)setenv("SHELL", pwd->pw_shell, 1); 381 (void)strcpy(tbuf + 1, (p = strrchr(pwd->pw_shell, '/')) ? 382 p + 1 : pwd->pw_shell); 393 execlp(pwd->pw_shell, tbuf, 0); 394 err(1, "%s", pwd->pw_shell);
|
H A D | login.c.1 | 383 if (*pwd->pw_shell == '\0') 384 pwd->pw_shell = BSHELL; 386 else if (!strcmp(pwd->pw_shell, "/bin/csh")) { 395 (void)setenv("SHELL", pwd->pw_shell, 1); 427 strcpy(tbuf + 1, (p = rindex(pwd->pw_shell, '/')) ? 428 p + 1 : pwd->pw_shell); 429 execlp(pwd->pw_shell, tbuf, 0); 431 perror(pwd->pw_shell);
|
/original-bsd/old/mkpasswd/ |
H A D | mkpasswd.c | 122 COMPACT(_pw_passwd.pw_shell); 147 _pw_passwd.pw_dir, _pw_passwd.pw_shell); 219 _pw_passwd.pw_shell = strsep(&bp, ":\n"); in scanpw()
|
/original-bsd/libexec/rshd/ |
H A D | rshd.c | 617 if (*pwd->pw_shell == '\0') 618 pwd->pw_shell = _PATH_BSHELL; 629 strncat(shell, pwd->pw_shell, sizeof(shell)-7); 631 cp = strrchr(pwd->pw_shell, '/'); 635 cp = pwd->pw_shell; 649 execl(pwd->pw_shell, cp, "-c", cmdbuf, 0); 650 perror(pwd->pw_shell);
|
/original-bsd/include/ |
H A D | pwd.h | 47 char *pw_shell; /* default shell */ member
|
/original-bsd/lib/libc/gen/ |
H A D | getpwnamuid.c | 53 EXPAND(pw_shell);
|
H A D | getpwent.c | 171 EXPAND(_pw_passwd.pw_shell);
|
/original-bsd/old/berknet/ |
H A D | mach.h | 414 char *pw_shell; member
|
H A D | mach.c | 380 passwd.pw_shell = p; in getpwent()
|
H A D | sub.c | 76 u = pwd->pw_shell; in passwdent()
|
H A D | netdaemon.c | 821 strcpy(status.loginshell,pwd->pw_shell);
|
/original-bsd/libexec/uucpd/ |
H A D | uucpd.c | 152 if (strcmp(pw->pw_shell, _PATH_UUCICO)) {
|
/original-bsd/libexec/ftpd/ |
H A D | ftpd.c | 357 free(save.pw_shell); 364 save.pw_shell = sgetsave(p->pw_shell); 414 if ((shell = pw->pw_shell) == NULL || *shell == 0)
|
/original-bsd/usr.bin/finger/ |
H A D | util.c | 305 pn->shell = strdup(pw->pw_shell);
|
/original-bsd/usr.sbin/sendmail/src/ |
H A D | recipient.c | 513 if (!usershellok(pw->pw_name, pw->pw_shell)) 1033 sh = pw->pw_shell;
|
H A D | map.c | 2566 rwval = pw->pw_shell;
|
/original-bsd/contrib/emacs-18.57/src/ |
H A D | sysdep.c | 3454 strncpy (retpw.pw_shell, &up->uaf$t_defcli[1], up->uaf$t_defcli[0]); 3455 retpw.pw_shell[up->uaf$t_defcli[0]] = '\0'; 3497 *retpw.pw_shell = '\0';
|