| /openbsd-src/usr.bin/chpass/ |
| H A D | field.c | 200 pw->pw_shell = _PATH_BSHELL; in p_shell() 204 if (uid && pw->pw_shell && !ok_shell(pw->pw_shell, NULL)) { in p_shell() 205 warnx("%s: current shell non-standard", pw->pw_shell); in p_shell() 215 if (!(pw->pw_shell = t)) { in p_shell()
|
| H A D | edit.c | 102 *pw->pw_shell ? pw->pw_shell : _PATH_BSHELL); in display() 105 else if (ok_shell(pw->pw_shell, NULL)) in display() 111 *pw->pw_shell ? pw->pw_shell : _PATH_BSHELL); in display() 220 pw->pw_shell) >= 1023 || in verify()
|
| /openbsd-src/usr.bin/su/ |
| H A D | su.c | 154 if (pwd->pw_shell && *pwd->pw_shell) { in main() 155 if ((shell = strdup(pwd->pw_shell)) == NULL) in main() 243 if (ruid && !chshell(pwd->pw_shell)) in main() 245 } else if (pwd->pw_shell && *pwd->pw_shell) { in main() 246 if ((shell = strdup(pwd->pw_shell)) == NULL) in main()
|
| /openbsd-src/gnu/usr.bin/perl/lib/User/ |
| H A D | pwent.pm | 8 $pw_gecos, $pw_dir, $pw_shell, 20 $pw_gecos $pw_dir $pw_shell 158 $pw_shell = $pwob->shell ( $_[8] ); 222 names. Thus, C<< $passwd_obj->shell >> corresponds to $pw_shell
|
| /openbsd-src/lib/libc/gen/ |
| H A D | getpwent.c | 167 if (pw->pw_shell && (pw->pw_shell)[0]) { in __ypproto_set() 168 bcopy(pw->pw_shell, ptr, strlen(pw->pw_shell) + 1); in __ypproto_set() 169 __ypproto->pw_shell = ptr; in __ypproto_set() 170 ptr += (strlen(pw->pw_shell) + 1); in __ypproto_set() 172 __ypproto->pw_shell = NULL; in __ypproto_set() 236 pw->pw_shell = strsep(&bp, ":\n"); in __ypparse() 248 if (__ypproto->pw_shell) in __ypparse() 249 pw->pw_shell = __ypproto->pw_shell; in __ypparse() 1017 EXPAND(pw->pw_shell); in __hashpw()
|
| H A D | pw_dup.c | 61 PW_SIZE(pw_shell, ssize); in pw_dup() 79 PW_COPY(pw_shell, ssize); in pw_dup()
|
| /openbsd-src/lib/libutil/ |
| H A D | passwd.c | 291 strcmp(pw1->pw_shell, pw2->pw_shell) == 0); in pw_equal() 313 pw->pw_gecos, pw->pw_dir, pw->pw_shell); in pw_write_entry() 436 if (!(pw->pw_shell = strsep(&bp, ":"))) /* shell */ in pw_scan() 439 p = pw->pw_shell; in pw_scan()
|
| /openbsd-src/lib/libc/net/ |
| H A D | rcmdsh.c | 132 if (pw->pw_shell[0] == '\0') in rcmdsh() 135 rshprog = pw->pw_shell; in rcmdsh()
|
| /openbsd-src/gnu/llvm/lldb/source/Host/posix/ |
| H A D | HostInfoPosix.cpp | 77 return PasswdEntry{user_info_ptr->pw_name, user_info_ptr->pw_shell}; in GetPassword() 86 return PasswdEntry{user_info_ptr->pw_name, user_info_ptr->pw_shell}; in GetPassword()
|
| /openbsd-src/gnu/usr.bin/binutils/include/mpw/ |
| H A D | pwd.h | 11 char *pw_shell; member
|
| /openbsd-src/lib/librpcsvc/ |
| H A D | yppasswd.x | 60 string pw_shell<>; /* default shell */
|
| /openbsd-src/gnu/usr.bin/cvs/windows-NT/ |
| H A D | pwd.h | 31 char *pw_shell; /* login shell */ member
|
| H A D | pwd.c | 58 pw.pw_shell = login_shell; in getpwuid()
|
| /openbsd-src/gnu/usr.bin/cvs/os2/ |
| H A D | pwd.h | 31 char *pw_shell; /* login shell */ member
|
| H A D | pwd.c | 57 pw.pw_shell = login_shell; in getpwuid()
|
| /openbsd-src/usr.sbin/authpf/ |
| H A D | authpf.c | 144 shell = login_getcapstr(lc, "shell", pw->pw_shell, in main() 145 pw->pw_shell); in main() 147 shell = pw->pw_shell; in main() 155 if (shell != pw->pw_shell) in main() 160 if (shell != pw->pw_shell) in main()
|
| /openbsd-src/regress/lib/libpthread/pw/ |
| H A D | pw.c | 54 pw->pw_class, pw->pw_gecos, pw->pw_dir, pw->pw_shell); in main()
|
| /openbsd-src/usr.sbin/user/ |
| H A D | user.c | 1502 shell_last_char = pwp->pw_shell+strlen(pwp->pw_shell) - 1; in moduser() 1552 shell_tmp = malloc(strlen(pwp->pw_shell) + sizeof(acctlock_str)); in moduser() 1558 strlcpy(shell_tmp, pwp->pw_shell, sizeof(shell_len)); in moduser() 1560 pwp->pw_shell = shell_tmp; in moduser() 1596 shell_buf = strlen(pwp->pw_shell) + 2 - sizeof(acctlock_str); in moduser() 1603 strlcpy(shell_tmp, pwp->pw_shell, shell_buf); in moduser() 1604 pwp->pw_shell = shell_tmp; in moduser() 1666 pwp->pw_shell = up->u_shell; in moduser() 1697 pwp->pw_shell)) >= sizeof(buf) || len < 0 || in moduser() 1780 login_name, pwp->pw_uid, pwp->pw_gid, pwp->pw_dir, pwp->pw_shell); in moduser() [all …]
|
| /openbsd-src/include/ |
| H A D | pwd.h | 89 char *pw_shell; /* default shell */ member
|
| /openbsd-src/usr.bin/login/ |
| H A D | login.c | 556 shell = login_getcapstr(lc, "shell", pwd->pw_shell, pwd->pw_shell); in main() 583 setenv("SHELL", pwd->pw_shell, 1) == -1) { in main() 634 quietlog = ((strcmp(pwd->pw_shell, "/sbin/nologin") == 0) || in main()
|
| /openbsd-src/usr.bin/ssh/ |
| H A D | auth.c | 102 char *shell = xstrdup((pw->pw_shell[0] == '\0') ? in allowed_user() 103 _PATH_BSHELL : pw->pw_shell); /* empty = /bin/sh */ in allowed_user() 559 fake.pw_shell = "/nonexist"; in fakepw()
|
| /openbsd-src/usr.bin/tmux/ |
| H A D | tmux.c | 77 if (pw != NULL && checkshell(pw->pw_shell)) in getshell() 78 return (pw->pw_shell); in getshell()
|
| /openbsd-src/usr.bin/doas/ |
| H A D | env.c | 107 addnode(env, "SHELL", targpw->pw_shell); in createenv()
|
| /openbsd-src/usr.sbin/pwd_mkdb/ |
| H A D | pwd_mkdb.c | 511 gidstr, pw->pw_gecos, pw->pw_dir, pw->pw_shell)); in write_old_entry() 604 COMPACT(pw->pw_shell); in db_store()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_platform_limits_solaris.h | 151 char *pw_shell; member
|