summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-02-27 09:02:49 +0100
committerGitHub <noreply@github.com>2023-02-27 09:02:49 +0100
commit64e92f28c9c066abe4764094f62a0b55765be162 (patch)
tree062303992621cc3c14be3eb5793fed14da8c9dd9
parent29fecee14a947506e4df2010703c38fdbc54528c (diff)
parent0b995934b6f5b52523e056921740d6e0749d59fd (diff)
downloadlibpam-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
-rw-r--r--src/radius_shell.c6
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