Lines Matching defs:shell
55 * | -s shell | -c comment | -l new_logname]
68 * shell - a program to be used as a shell
98 static char *shell = NULL; /* shell from command line */
228 shell = optarg;
527 if (shell) {
528 if (REL_PATH(shell)) {
529 errmsg(M_RELPATH, shell);
532 if (strcmp(pstruct->pw_shell, shell) == 0) {
533 /* ignore s option if shell is not different */
534 shell = NULL;
536 if (stat(shell, &statbuf) < 0 ||
540 errmsg(M_INVALID, shell, "shell");
627 if (shell) { /* shell */
629 nargv[argindex++] = shell;