Lines Matching defs:shell
166 const char *p, *user, *shell, *mytty, **nargv;
175 p = shell = class = cleanenv = NULL;
255 /* get current login name, real uid and shell */
278 shell = strncpy(shellbuf, pwd->pw_shell,
283 shell = _PATH_BSHELL;
381 /* if asme and non-standard target shell, must be root */
384 errx(1, "permission denied (shell)");
387 shell = pwd->pw_shell;
391 shell = _PATH_BSHELL;
397 p = strrchr(shell, '/');
401 p = shell;
518 setenv("SHELL", shell, 1);
556 execv(shell, np.b);
557 err(1, "%s", shell);