Home
last modified time | relevance | path

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

/openssh-portable/
H A Dsshconnect.c134 char *shell; in ssh_proxy_fdpass_connect() local
137 shell = _PATH_BSHELL; in ssh_proxy_fdpass_connect()
172 argv[0] = shell; in ssh_proxy_fdpass_connect()
216 char *shell; in ssh_proxy_connect() local
218 if ((shell = getenv("SHELL")) == NULL || *shell == '\0') in ssh_proxy_connect()
219 shell = _PATH_BSHELL; in ssh_proxy_connect()
255 argv[0] = shell; in ssh_proxy_connect()
1373 char *shell; in ssh_local_cmd() local
1382 if ((shell = getenv("SHELL")) == NULL || *shell == '\0') in ssh_local_cmd()
1383 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.c319 char *shell; in local_do_shell() local
325 if ((shell = getenv("SHELL")) == NULL || *shell == '\0') in local_do_shell()
326 shell = _PATH_BSHELL; in local_do_shell()
334 debug3("Executing %s -c \"%s\"", shell, args); in local_do_shell()
335 execl(shell, shell, "-c", args, (char *)NULL); in local_do_shell()
337 debug3("Executing %s", shell); in local_do_shell()
338 execl(shell, shell, (char *)NULL); in local_do_shell()
340 fprintf(stderr, "Couldn't execute \"%s\": %s\n", shell, in local_do_shell()
H A Dssh-agent.c1285 char *shell, *format, *pidstr, *agentsocket = NULL; in main() local
1375 shell = getenv("SHELL"); in main()
1376 if (shell != NULL && (len = strlen(shell)) > 2 && in main()
1377 strncmp(shell + len - 3, "csh", 3) == 0) in main()
H A Dreadconf.c484 char *shell; in execute_in_shell() local
488 if ((shell = getenv("SHELL")) == NULL) in execute_in_shell()
489 shell = _PATH_BSHELL; in execute_in_shell()
491 if (access(shell, X_OK) == -1) { in execute_in_shell()
493 shell, strerror(errno)); in execute_in_shell()
515 argv[0] = shell; in execute_in_shell()
H A Dconfigure.ac1051 TEST_SHELL=$SHELL # let configure find us a capable shell
1096 TEST_SHELL=$SHELL # let configure find us a capable shell
1109 TEST_SHELL=$SHELL # let configure find us a capable shell
1149 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 30 milliseconds