summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsdc <taras@vyos.io>2023-02-24 16:43:54 +0200
committerzsdc <taras@vyos.io>2023-02-24 16:43:54 +0200
commit0b995934b6f5b52523e056921740d6e0749d59fd (patch)
tree062303992621cc3c14be3eb5793fed14da8c9dd9
parent29fecee14a947506e4df2010703c38fdbc54528c (diff)
downloadlibpam-radius-auth-0b995934b6f5b52523e056921740d6e0749d59fd.tar.gz
libpam-radius-auth-0b995934b6f5b52523e056921740d6e0749d59fd.zip
PAM: T4943: Replaced shell from bash to vbash
This change was lost after cf571ca6c722d3d2b0c359dddf835a3f406b194b
-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