Home
last modified time | relevance | path

Searched refs:safe_shell (Results 1 – 1 of 1) sorted by relevance

/titanic_44/usr/src/cmd/su/
H A Dsu.c146 char safe_shell[] = "/sbin/sh"; /* "fallback" shell */ variable
672 (strcmp(safe_shell, pshell) != 0)) { in main()
675 pshell, safe_shell); in main()
680 safe_shell, sizeof (shelltyp) - strlen("SHELL=")); in main()
687 (void) execv(safe_shell, &argv[1]); in main()
689 (void) execl(safe_shell, su, 0); in main()
692 safe_shell, strerror(errno)); in main()