summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgclarkii <gclarkii@FreeBSD.org>1996-05-06 06:15:19 +0000
committergclarkii <gclarkii@FreeBSD.org>1996-05-06 06:15:19 +0000
commit189a7acd97b0dda15dbb8037095cc14f0860045f (patch)
tree1bebe0d30394738551f364fd1554059307ea481d
parent914cbcef2ca2238d808f510c1a2f084eb37952b6 (diff)
downloadFreeBSD-src-189a7acd97b0dda15dbb8037095cc14f0860045f.zip
FreeBSD-src-189a7acd97b0dda15dbb8037095cc14f0860045f.tar.gz
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--usr.sbin/adduser/adduser.perl6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/adduser/adduser.perl b/usr.sbin/adduser/adduser.perl
index 00556a1..f13b69c 100644
--- a/usr.sbin/adduser/adduser.perl
+++ b/usr.sbin/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
OpenPOWER on IntegriCloud