From 0b995934b6f5b52523e056921740d6e0749d59fd Mon Sep 17 00:00:00 2001 From: zsdc Date: Fri, 24 Feb 2023 16:43:54 +0200 Subject: PAM: T4943: Replaced shell from bash to vbash This change was lost after cf571ca6c722d3d2b0c359dddf835a3f406b194b --- src/radius_shell.c | 6 +++--- 1 file 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 -- cgit v1.2.3