Lines Matching defs:shell
85 * User shell for authenticating gateways. Sole purpose is to allow
100 const char *shell;
153 shell = login_getcapstr(lc, "shell", pw->pw_shell,
156 shell = pw->pw_shell;
162 if (strcmp(shell, PATH_AUTHPF_SHELL) &&
163 strcmp(shell, PATH_AUTHPF_SHELL_NOIP)) {
164 syslog(LOG_ERR, "wrong shell for user %s, uid %u",
169 if (shell != pw->pw_shell)
170 free(shell);
178 if (shell != pw->pw_shell)
179 free(shell);