summaryrefslogtreecommitdiffstats
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
commit273c391996d56dd198d3e65cf89b829ec8e5d50e (patch)
treec522aed23e02ed63d9b0a59ab42bcb5140bf89aa
parent54a3862761e80ebccc2f02846f9c1240f0acd5f9 (diff)
downloadpw-darwin-273c391996d56dd198d3e65cf89b829ec8e5d50e.tar.gz
pw-darwin-273c391996d56dd198d3e65cf89b829ec8e5d50e.tar.zst
pw-darwin-273c391996d56dd198d3e65cf89b829ec8e5d50e.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.
-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