Lines Matching refs:shell
3058 ** USERSHELLOK -- tell if a user's shell is ok for unrestricted use
3062 ** shell -- the user's shell from /etc/passwd
3066 ** false -- if the shell is restricted.
3085 "/bin/sh", /* standard shell */
3090 "/bin/csh", /* C shell */
3095 "/usr/bin/rsh", /* restricted Bourne shell */
3096 "/usr/bin/ksh", /* Korn shell */
3097 "/usr/bin/rksh", /* restricted Korn shell */
3099 "/usr/bin/keysh", /* key shell (extended Korn shell) */
3102 "/bin/rsh", /* restricted Bourne shell */
3103 "/bin/ksh", /* Korn shell */
3104 "/bin/rksh", /* restricted Korn shell */
3106 "/usr/bin/keysh", /* key shell (extended Korn shell) */
3112 "/bin/ksh", /* Korn shell */
3114 "/bin/tsh", /* trusted shell */
3116 "/bin/bsh", /* Bourne shell */
3120 "/bin/ksh", /* Korn shell */
3126 "/sbin/bsh", /* classic Bourne shell */
3132 "/sbin/jsh", /* classic Bourne shell w/ job control*/
3135 "/bin/ksh", /* Korn shell */
3150 usershellok(user, shell)
3152 char *shell;
3158 if (shell == NULL || shell[0] == '\0' || wordinclass(user, 't') ||
3164 if (strcmp(p, shell) == 0 || strcmp(p, WILDCARD_SHELL) == 0)
3175 if (shell == NULL || shell[0] == '\0' || wordinclass(user, 't') ||
3197 if (strcmp(v, shell) == 0 || strcmp(v, WILDCARD_SHELL) == 0)
3219 if (strcmp(shell, *d) == 0)
3238 if (strcmp(shell, q) == 0 || strcmp(WILDCARD_SHELL, q) == 0)