Lines Matching refs:shell
97 static char *shell = NULL; /* shell from command line */ variable
227 shell = optarg;
502 if (shell) {
503 if (REL_PATH(shell)) {
504 errmsg(M_RELPATH, shell);
507 if (strcmp(pstruct->pw_shell, shell) == 0) {
509 shell = NULL;
511 if (stat(shell, &statbuf) < 0 ||
515 errmsg(M_INVALID, shell, "shell");
602 if (shell) { /* shell */
604 nargv[argindex++] = shell;