mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-26 04:54:07 +01:00
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.
This commit is contained in:
parent
5458e2f421
commit
b8ff21bda2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=15649
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user