Lines Matching defs:shell
145 char shell[] = "/usr/bin/sh"; /* default shell */
146 char safe_shell[] = "/sbin/sh"; /* "fallback" shell */
454 * If new user's shell field is neither NULL nor equal to /usr/bin/sh,
457 * pshell = their shell
458 * su = [-]last component of shell's pathname
460 * Otherwise, set the shell to /usr/bin/sh and set argv[0] to '[-]su'.
462 if (shprog[0] != '\0' && strcmp(shell, shprog) != 0) {
473 pshell = shell;
647 * if additional arguments, exec shell program with array
649 * -> if shell = default, then su = [-]su
650 * -> if shell != default, then su = [-]last component of
651 * shell's pathname
653 * if no additional arguments, exec shell with arg0 of su
655 * -> if shell = default, then su = [-]su
656 * -> if shell != default, then su = [-]last component of
657 * shell's pathname
668 * configuring root's shell; if root's shell is other than /sbin/sh,
674 gettext("No shell %s. Trying fallback shell %s."),
691 message(ERR, gettext("Couldn't exec fallback shell %s: %s"),
694 message(ERR, gettext("No shell"));
945 * The child shell exited or was terminated by
954 * The child shell has been stopped/suspended.
962 * shell group as foreground process group
963 * which gives the child shell a control over
982 /* Wake up the child shell */