/netbsd-current/external/gpl2/gettext/dist/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-current/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 | 150 mypwd->pw_shell = mystrdup(*pwd->pw_shell ? pwd->pw_shell : _PATH_BSHELL); 312 myfree(mypwd->pw_shell);
|
/netbsd-current/tools/compat/ |
H A D | compat_pwd.h | 57 char *pw_shell; member in struct:passwd
|
/netbsd-current/lib/librpcsvc/ |
H A D | yppasswd.x | 51 string pw_shell<>; /* default shell */
|
/netbsd-current/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-current/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-current/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-current/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); 218 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-current/external/gpl2/gettext/dist/gettext-tools/misc/ |
H A D | cvsuser.c | 37 pw.pw_shell = "/bin/sh";
|
/netbsd-current/usr.bin/login/ |
H A D | login_pam.c | 571 if (*pwd->pw_shell == '\0') 572 pwd->pw_shell = __UNCONST(_PATH_BSHELL); 574 shell = login_getcapstr(lc, "shell", pwd->pw_shell, pwd->pw_shell); 576 shell = pwd->pw_shell; 578 if ((pwd->pw_shell = strdup(shell)) == NULL) { 584 (void)setenv("SHELL", pwd->pw_shell, 1); 644 (void)strlcpy(tbuf + 1, (p = strrchr(pwd->pw_shell, '/')) ? 645 p + 1 : pwd->pw_shell, sizeof(tbuf) - 1); 653 execlp(pwd->pw_shell, tbu [all...] |
H A D | login.c | 602 if (*pwd->pw_shell == '\0') 603 pwd->pw_shell = __UNCONST(_PATH_BSHELL); 610 pwd->pw_shell = shell; 615 (void)setenv("SHELL", pwd->pw_shell, 1); 689 (void)strlcpy(tbuf + 1, (p = strrchr(pwd->pw_shell, '/')) ? 690 p + 1 : pwd->pw_shell, sizeof(tbuf) - 1); 721 execlp(pwd->pw_shell, tbuf, NULL); 722 err(EXIT_FAILURE, "%s", pwd->pw_shell);
|
/netbsd-current/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-current/usr.sbin/rpc.yppasswdd/ |
H A D | yppasswdd_mkpw.c | 153 pw.pw_shell = argp->newpw.pw_shell;
|
/netbsd-current/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-current/usr.bin/su/ |
H A D | su.c | 197 if (pwd->pw_shell && *pwd->pw_shell) { 198 (void)estrlcpy(shellbuf, pwd->pw_shell, sizeof(shellbuf)); 305 if (chshell(pwd->pw_shell) == 0 && ruid) 307 } else if (pwd->pw_shell && *pwd->pw_shell) { 308 shell = pwd->pw_shell;
|
H A D | su_pam.c | 191 if (pwd->pw_shell && *pwd->pw_shell) { 192 (void)estrlcpy(shellbuf, pwd->pw_shell, sizeof(shellbuf)); 318 if (chshell(pwd->pw_shell) == 0 && ruid) 321 } else if (pwd->pw_shell && *pwd->pw_shell) { 322 shell = pwd->pw_shell;
|
/netbsd-current/libexec/rshd/ |
H A D | rshd.c | 654 if (*pwd->pw_shell == '\0') 655 pwd->pw_shell = __UNCONST(_PATH_BSHELL); 658 (void)pam_setenv(pamh, "SHELL", pwd->pw_shell, 1); 672 pwd->pw_shell = sh; 682 setenv("SHELL", pwd->pw_shell, 1); 686 cp = strrchr(pwd->pw_shell, '/'); 690 cp = pwd->pw_shell; 708 (void)execl(pwd->pw_shell, cp, "-c", cmdbuf, NULL); 709 rshd_errx(EXIT_FAILURE, "%s: %s", pwd->pw_shell, strerror(errno));
|
/netbsd-current/lib/libc/compat/gen/ |
H A D | compat_getpwent.c | 92 q->pw_shell = p->pw_shell;
|
/netbsd-current/lib/libc/gen/ |
H A D | pw_scan.c | 215 if (!(pw->pw_shell = strsep(&bp, ":"))) /* shell */ 219 p = pw->pw_shell;
|
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/ |
H A D | getxxyyy.c | 82 APPEND(pw_shell); 151 printf("%s\n", p->pw_shell);
|
/netbsd-current/include/ |
H A D | pwd.h | 116 __aconst char *pw_shell; /* default shell */ member in struct:passwd
|