summaryrefslogtreecommitdiffstats
path: root/etc/inc/auth.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/auth.inc')
-rw-r--r--etc/inc/auth.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc
index ad434ab..0af0594 100644
--- a/etc/inc/auth.inc
+++ b/etc/inc/auth.inc
@@ -254,6 +254,8 @@ function local_user_set(& $user) {
$user_shell = "/sbin/nologin";
else
$user_shell = "/usr/local/bin/scponly";
+ } else {
+ $user_shell = "/bin/tcsh";
}
/* root user special handling */
@@ -266,6 +268,7 @@ function local_user_set(& $user) {
pclose($fd);
$user_group = "wheel";
$user_home = "/root";
+ $user_shell = "/etc/rc.initial";
}
/* read from pw db */
OpenPOWER on IntegriCloud