diff options
author | Christian Breunig <christian@breunig.cc> | 2023-02-27 09:02:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-27 09:02:49 +0100 |
commit | 64e92f28c9c066abe4764094f62a0b55765be162 (patch) | |
tree | 062303992621cc3c14be3eb5793fed14da8c9dd9 /src/radius_shell.c | |
parent | 29fecee14a947506e4df2010703c38fdbc54528c (diff) | |
parent | 0b995934b6f5b52523e056921740d6e0749d59fd (diff) | |
download | libpam-radius-auth-64e92f28c9c066abe4764094f62a0b55765be162.tar.gz libpam-radius-auth-64e92f28c9c066abe4764094f62a0b55765be162.zip |
Merge pull request #6 from zdc/T4943-sagitta
PAM: T4943: Replaced shell from bash to vbash
Diffstat (limited to 'src/radius_shell.c')
-rw-r--r-- | src/radius_shell.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/radius_shell.c b/src/radius_shell.c index 81ecb65..5c03a37 100644 --- a/src/radius_shell.c +++ b/src/radius_shell.c @@ -112,11 +112,11 @@ execit: /* should really check this against /etc/shell */ snprintf(execshell, sizeof execshell, "/bin/%s", check); #else - check = "bash"; + check = "vbash"; if (*args[0] == '-') - shell = "-bash"; + shell = "-vbash"; else - shell = "bash"; + shell = "vbash"; snprintf(execshell, sizeof execshell, "/bin/%s", check); #endif |