Displaying 1 result from an estimated 1 matches for "forced_shell".
2001 Oct 04
1
patch - forceshell
...ons.c openssh-2.9p2_forceshell/auth-options.c
--- openssh-2.9p2/auth-options.c Sun Mar 18 16:13:47 2001
+++ openssh-2.9p2_forceshell/auth-options.c Wed Oct 3 09:57:24 2001
@@ -29,6 +29,8 @@
/* "command=" option. */
char *forced_command = NULL;
+/* "shell=" option. */
+char *forced_shell = NULL;
/* "environment=" options. */
struct envstring *custom_environment = NULL;
@@ -98,6 +100,35 @@
packet_send_debug("Pty allocation disabled.");
no_pty_flag = 1;
opts += strlen(cp);
+ goto next_option;
+ }
+ cp = "shell=\"";
+ if (strncas...