Lines Matching refs:pw_shell
215 pw->pw_shell = strdup(_PATH_BSHELL); in p_shell()
219 if (!master_mode && pw->pw_shell && !ok_shell(pw->pw_shell)) { in p_shell()
220 warnx("%s: current shell non-standard", pw->pw_shell); in p_shell()
228 pw->pw_shell = strdup(p); in p_shell()
231 pw->pw_shell = dup_shell(p); in p_shell()
232 if (!pw->pw_shell) { in p_shell()
236 if (stat(pw->pw_shell, &sbuf) < 0) { in p_shell()
239 pw->pw_shell); in p_shell()
241 warn("WARNING: can't stat shell '%s'", pw->pw_shell); in p_shell()
246 pw->pw_shell); in p_shell()
250 warnx("WARNING: shell '%s' is not executable", pw->pw_shell); in p_shell()