Home | History | Annotate | Download | only in su

Lines Matching defs:shell

108 	const char *user, *shell, *avshell;
132 shell = class = NULL;
159 "Usage: %s [%s] [login[:group] [shell arguments]]\n",
161 "Usage: %s [%s] [login [shell arguments]]\n",
177 /* get current login name and shell */
193 shell = shellbuf;
195 shell = _PATH_BSHELL;
317 /* if asme and non-standard target shell, must be root */
320 "permission denied (shell)."));
322 shell = pwd->pw_shell;
325 shell = _PATH_BSHELL;
329 if ((p = strrchr(shell, '/')) != NULL)
332 avshell = shell;
481 * SHELL, LOGNAME, MAIL, CDPATH, IFS, PATH
504 (void)setenv("SHELL", shell, 1);
561 (void)execv(shell, np);
562 err(EXIT_FAILURE, "%s", shell);