summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKim <khagen@jessiedevel>2018-05-24 15:14:21 +0200
committerKim <khagen@jessiedevel>2018-05-24 15:14:21 +0200
commitff7ea358fa9e5703858e4a7e3241fea35e0166cf (patch)
tree75e4e3f1162a0df7e194ba4ec50b582774971d16 /src
parent1e0bffc41d6f1c99f99bb8c5f341422723b9f651 (diff)
downloadlibpam-radius-auth-ff7ea358fa9e5703858e4a7e3241fea35e0166cf.tar.gz
libpam-radius-auth-ff7ea358fa9e5703858e4a7e3241fea35e0166cf.zip
Revert "Do not include config file"
This reverts commit 80ec9b746124ca540faeac332131a7833a08b14c.
Diffstat (limited to 'src')
-rw-r--r--src/radius_shell.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/radius_shell.c b/src/radius_shell.c
index e7cffad..5da76dc 100644
--- a/src/radius_shell.c
+++ b/src/radius_shell.c
@@ -92,7 +92,7 @@ execit:
/*
* Eventually handle this program being linked or symlinked
* and that the shell is one of the shells in /etc/shells
- * Expect it to be installed as /sbin/radius/vbash, etc.
+ * Expect it to be installed as /sbin/radius/bash, etc.
*/
shell = strrchr(args[0], '/');
if (!shell)
@@ -110,11 +110,11 @@ execit:
/* should really check this against /etc/shell */
snprintf(execshell, sizeof execshell, "/bin/%s", check);
#else
- check = "vbash";
+ check = "bash";
if (*args[0] == '-')
- shell = "-vbash";
+ shell = "-bash";
else
- shell = "vbash";
+ shell = "bash";
snprintf(execshell, sizeof execshell, "/bin/%s", check);
#endif