/netbsd-6-1-5-RELEASE/gnu/dist/gettext/djgpp/ |
H A D | getpwnam.c | 32 rv.pw_shell = getenv("SHELL"); 33 if (rv.pw_shell == 0) 34 rv.pw_shell = getenv("COMSPEC"); 35 if (rv.pw_shell == 0) 36 rv.pw_shell = shell;
|
H A D | djpwd.h | 31 char * pw_shell; /* Shell program. */ member in struct:passwd
|
/netbsd-6-1-5-RELEASE/sys/compat/ibcs2/ |
H A D | ibcs2_pwd.h | 45 char *pw_shell; member in struct:ibcs2_passwd
|
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/global/ |
H A D | mypwd.h | 27 char *pw_shell; member in struct:mypasswd
|
H A D | mypwd.c | 96 mypwd->pw_shell = mystrdup(*pwd->pw_shell ? pwd->pw_shell : _PATH_BSHELL); 189 myfree(mypwd->pw_shell);
|
/netbsd-6-1-5-RELEASE/tools/compat/ |
H A D | compat_pwd.h | 57 char *pw_shell; member in struct:passwd
|
/netbsd-6-1-5-RELEASE/lib/librpcsvc/ |
H A D | yppasswd.x | 51 string pw_shell<>; /* default shell */
|
/netbsd-6-1-5-RELEASE/usr.bin/newgrp/ |
H A D | newgrp.c | 137 if (*pwd->pw_shell == '\0') { 141 pwd->pw_shell = shell; 144 pwd->pw_shell = __UNCONST(_PATH_BSHELL); 147 shell = pwd->pw_shell; 184 (void)setenv("SHELL", pwd->pw_shell, 1); 187 (void)strlcpy(sbuf + 1, basename(pwd->pw_shell), 192 (void)execl(pwd->pw_shell, shell, NULL); 193 err(EXIT_FAILURE, "%s", pwd->pw_shell);
|
/netbsd-6-1-5-RELEASE/external/bsd/cron/dist/ |
H A D | pw_dup.c | 94 if (pw->pw_shell) { 95 ssize = strlen(pw->pw_shell) + 1; 136 if (pw->pw_shell) { 137 (void)memcpy(cp, pw->pw_shell, ssize); 138 newpw->pw_shell = cp;
|
/netbsd-6-1-5-RELEASE/lib/libc/compat/include/ |
H A D | pwd.h | 20 __aconst char *pw_shell; /* default shell */ member in struct:passwd50 36 q->pw_shell = p->pw_shell; 51 q->pw_shell = p->pw_shell;
|
/netbsd-6-1-5-RELEASE/usr.bin/chpass/ |
H A D | field.c | 229 if (!(pw->pw_shell = strdup(_PATH_BSHELL))) { 236 if (uid && pw->pw_shell && !ok_shell(pw->pw_shell)) { 237 warnx("%s: current shell non-standard", pw->pw_shell); 248 if (!(pw->pw_shell = strdup(p))) {
|
H A D | edit.c | 114 *pw->pw_shell ? pw->pw_shell : _PATH_BSHELL); 117 else if (ok_shell(pw->pw_shell)) 123 *pw->pw_shell ? pw->pw_shell : _PATH_BSHELL); 217 pw->pw_dir, pw->pw_shell) >= (int)sizeof(buf)) {
|
H A D | pw_yp.c | 183 yppw.newpw.pw_shell = strdup(pw->pw_shell); 184 if (!yppw.newpw.pw_shell) {
|
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/misc/ |
H A D | cvsuser.c | 37 pw.pw_shell = "/bin/sh";
|
/netbsd-6-1-5-RELEASE/usr.bin/login/ |
H A D | login_pam.c | 570 if (*pwd->pw_shell == '\0') 571 pwd->pw_shell = __UNCONST(_PATH_BSHELL); 573 shell = login_getcapstr(lc, "shell", pwd->pw_shell, pwd->pw_shell); 575 shell = pwd->pw_shell; 577 if ((pwd->pw_shell = strdup(shell)) == NULL) { 583 (void)setenv("SHELL", pwd->pw_shell, 1); 643 (void)strlcpy(tbuf + 1, (p = strrchr(pwd->pw_shell, '/')) ? 644 p + 1 : pwd->pw_shell, sizeof(tbuf) - 1); 652 execlp(pwd->pw_shell, tbu [all...] |
H A D | login.c | 594 if (*pwd->pw_shell == '\0') 595 pwd->pw_shell = __UNCONST(_PATH_BSHELL); 602 pwd->pw_shell = shell; 607 (void)setenv("SHELL", pwd->pw_shell, 1); 684 (void)strlcpy(tbuf + 1, (p = strrchr(pwd->pw_shell, '/')) ? 685 p + 1 : pwd->pw_shell, sizeof(tbuf) - 1); 716 execlp(pwd->pw_shell, tbuf, NULL); 717 err(EXIT_FAILURE, "%s", pwd->pw_shell);
|
/netbsd-6-1-5-RELEASE/libexec/rexecd/ |
H A D | rexecd.c | 321 if (*pwd->pw_shell == '\0') 322 pwd->pw_shell = __UNCONST(_PATH_BSHELL); 343 (void)pam_setenv(pamh, "SHELL", pwd->pw_shell, 1); 359 (void)strlcat(shell, pwd->pw_shell, sizeof(shell)); 364 cp = strrchr(pwd->pw_shell, '/'); 368 cp = pwd->pw_shell; 371 (void)execl(pwd->pw_shell, cp, "-c", cmdbuf, NULL); 374 err(EXIT_FAILURE, "%s", pwd->pw_shell);
|
/netbsd-6-1-5-RELEASE/usr.sbin/rpc.yppasswdd/ |
H A D | yppasswdd_mkpw.c | 153 pw.pw_shell = argp->newpw.pw_shell;
|
/netbsd-6-1-5-RELEASE/external/bsd/libbind/dist/irs/ |
H A D | getpwent_r.c | 215 len += strlen(pw->pw_shell) + 1; 267 n = strlen(pw->pw_shell) + 1; 268 strcpy(cp, pw->pw_shell); 269 pwptr->pw_shell = cp;
|
/netbsd-6-1-5-RELEASE/usr.bin/su/ |
H A D | su.c | 192 if (pwd->pw_shell && *pwd->pw_shell) { 193 (void)estrlcpy(shellbuf, pwd->pw_shell, sizeof(shellbuf)); 298 if (chshell(pwd->pw_shell) == 0 && ruid) 300 } else if (pwd->pw_shell && *pwd->pw_shell) { 301 shell = pwd->pw_shell;
|
H A D | su_pam.c | 179 if (pwd->pw_shell && *pwd->pw_shell) { 180 (void)estrlcpy(shellbuf, pwd->pw_shell, sizeof(shellbuf)); 305 if (chshell(pwd->pw_shell) == 0 && ruid) 308 } else if (pwd->pw_shell && *pwd->pw_shell) { 309 shell = pwd->pw_shell;
|
/netbsd-6-1-5-RELEASE/libexec/rshd/ |
H A D | rshd.c | 644 if (*pwd->pw_shell == '\0') 645 pwd->pw_shell = __UNCONST(_PATH_BSHELL); 648 (void)pam_setenv(pamh, "SHELL", pwd->pw_shell, 1); 662 pwd->pw_shell = sh; 672 setenv("SHELL", pwd->pw_shell, 1); 676 cp = strrchr(pwd->pw_shell, '/'); 680 cp = pwd->pw_shell; 698 (void)execl(pwd->pw_shell, cp, "-c", cmdbuf, NULL); 699 rshd_errx(EXIT_FAILURE, "%s: %s", pwd->pw_shell, strerror(errno));
|
/netbsd-6-1-5-RELEASE/lib/libc/compat/gen/ |
H A D | compat_getpwent.c | 92 q->pw_shell = p->pw_shell;
|
/netbsd-6-1-5-RELEASE/lib/libc/gen/ |
H A D | pw_scan.c | 215 if (!(pw->pw_shell = strsep(&bp, ":"))) /* shell */ 219 p = pw->pw_shell;
|
/netbsd-6-1-5-RELEASE/include/ |
H A D | pwd.h | 116 __aconst char *pw_shell; /* default shell */ member in struct:passwd
|