summaryrefslogtreecommitdiffstats
path: root/adduser
diff options
context:
space:
mode:
authorGary Clark II <gclarkii@FreeBSD.org>1996-05-06 06:15:19 +0000
committerGary Clark II <gclarkii@FreeBSD.org>1996-05-06 06:15:19 +0000
commit67c956f4295255e54027c4a05528dccc9d027fdb (patch)
tree6213099a911494f89cdf787b0e762fb334c44f62 /adduser
parentff7a918b49ded28141288fa2877d8181a25be423 (diff)
downloadpw-darwin-67c956f4295255e54027c4a05528dccc9d027fdb.tar.gz
pw-darwin-67c956f4295255e54027c4a05528dccc9d027fdb.tar.zst
pw-darwin-67c956f4295255e54027c4a05528dccc9d027fdb.zip
We DON'T ship bash by default, why is it the default shell?
We also don't ship tcsh or ksh by default. Correct these two things to make sh the default and increase csh and sh to be higher priority.
Diffstat (limited to 'adduser')
-rw-r--r--adduser/adduser.perl6
1 files changed, 3 insertions, 3 deletions
diff --git a/adduser/adduser.perl b/adduser/adduser.perl
index 00556a1..f13b69c 100644
--- a/adduser/adduser.perl
+++ b/adduser/adduser.perl
@@ -32,7 +32,7 @@
#
# Email: Wolfram Schneider <wosch@cs.tu-berlin.de>
#
-# $Id: adduser.perl,v 1.9 1995/10/22 11:44:16 jkh Exp $
+# $Id: adduser.perl,v 1.10 1996/02/10 17:15:47 wosch Exp $
#
# read variables
@@ -56,9 +56,9 @@ sub variables {
# List of directories where shells located
@path = ('/bin', '/usr/bin', '/usr/local/bin');
# common shells, first element has higher priority
- @shellpref = ('bash', 'tcsh', 'ksh', 'csh', 'sh');
+ @shellpref = ('csh', 'sh', 'bash', 'tcsh', 'ksh');
- $defaultshell = 'bash'; # defaultshell if not empty
+ $defaultshell = 'sh'; # defaultshell if not empty
$group_uniq = 'USER';
$defaultgroup = $group_uniq;# login groupname, $group_uniq means username