From b8ff21bda2154f20bd1f8f4ff26771e9a91fc15c Mon Sep 17 00:00:00 2001 From: Gary Clark II Date: Mon, 6 May 1996 06:15:19 +0000 Subject: [PATCH] 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. --- usr.sbin/adduser/adduser.perl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/adduser/adduser.perl b/usr.sbin/adduser/adduser.perl index 00556a12d621..f13b69c12307 100644 --- a/usr.sbin/adduser/adduser.perl +++ b/usr.sbin/adduser/adduser.perl @@ -32,7 +32,7 @@ # # Email: Wolfram Schneider # -# $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