Home
last modified time | relevance | path

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

/openssh-portable/
H A Dsshconnect.c131 char *shell; in ssh_proxy_fdpass_connect() local
134 shell = _PATH_BSHELL; in ssh_proxy_fdpass_connect()
169 argv[0] = shell; in ssh_proxy_fdpass_connect()
213 char *shell; in ssh_proxy_connect() local
215 if ((shell = getenv("SHELL")) == NULL || *shell == '\0') in ssh_proxy_connect()
216 shell = _PATH_BSHELL; in ssh_proxy_connect()
252 argv[0] = shell; in ssh_proxy_connect()
1369 char *shell; in ssh_local_cmd() local
1378 if ((shell = getenv("SHELL")) == NULL || *shell == '\0') in ssh_local_cmd()
1379 shell = _PATH_BSHELL; in ssh_local_cmd()
[all …]
H A Dsession.c717 char *shell = s->pw->pw_shell; in do_exec() local
720 shell =_PATH_BSHELL; in do_exec()
1516 const char *shell, *shell0; in do_child() local
1577 shell = login_getcapstr(lc, "shell", (char *)shell, (char *)shell); in do_child()
1638 do_rc_files(ssh, s, shell); in do_child()
1674 shell0 = shell; in do_child()
1690 perror(shell); in do_child()
1697 execve(shell, argv, env); in do_child()
1700 perror(shell); in do_child()
1711 execve(shell, argv, env); in do_child()
[all …]
H A Dauth.c167 char *shell = xstrdup((pw->pw_shell[0] == '\0') ? in allowed_user() local
170 if (stat(shell, &st) == -1) { in allowed_user()
172 "does not exist", pw->pw_name, shell); in allowed_user()
173 free(shell); in allowed_user()
179 "is not executable", pw->pw_name, shell); in allowed_user()
180 free(shell); in allowed_user()
183 free(shell); in allowed_user()
H A Dsftp.c317 char *shell; in local_do_shell() local
323 if ((shell = getenv("SHELL")) == NULL || *shell == '\0') in local_do_shell()
324 shell = _PATH_BSHELL; in local_do_shell()
332 debug3("Executing %s -c \"%s\"", shell, args); in local_do_shell()
333 execl(shell, shell, "-c", args, (char *)NULL); in local_do_shell()
335 debug3("Executing %s", shell); in local_do_shell()
336 execl(shell, shell, (char *)NULL); in local_do_shell()
338 fprintf(stderr, "Couldn't execute \"%s\": %s\n", shell, in local_do_shell()
H A Dssh-agent.c1092 char *shell, *format, *pidstr, *agentsocket = NULL; in main() local
1180 shell = getenv("SHELL"); in main()
1181 if (shell != NULL && (len = strlen(shell)) > 2 && in main()
1182 strncmp(shell + len - 3, "csh", 3) == 0) in main()
H A Dreadconf.c482 char *shell; in execute_in_shell() local
486 if ((shell = getenv("SHELL")) == NULL) in execute_in_shell()
487 shell = _PATH_BSHELL; in execute_in_shell()
489 if (access(shell, X_OK) == -1) { in execute_in_shell()
491 shell, strerror(errno)); in execute_in_shell()
513 argv[0] = shell; in execute_in_shell()
H A Dconfigure.ac1036 TEST_SHELL=$SHELL # let configure find us a capable shell
1081 TEST_SHELL=$SHELL # let configure find us a capable shell
1094 TEST_SHELL=$SHELL # let configure find us a capable shell
1134 TEST_SHELL=$SHELL # let configure find us a capable shell
/openssh-portable/contrib/redhat/
H A Dopenssh.spec179 the secure shell daemon (sshd). The sshd daemon allows SSH clients to

Completed in 22 milliseconds