iankelling.org
/
git
/
automated-distro-installer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixes and config changes
[automated-distro-installer]
/
fai
/
config
/
scripts
/
CENTOS
/
10-security
diff --git
a/fai/config/scripts/CENTOS/10-security
b/fai/config/scripts/CENTOS/10-security
index ecf1c23ff05a0d4f9159db14cab300ee2166d0e4..566c3f4cc824ff210db439a8abfa271fd8a17662 100755
(executable)
--- a/
fai/config/scripts/CENTOS/10-security
+++ b/
fai/config/scripts/CENTOS/10-security
@@
-1,12
+1,10
@@
#! /bin/bash
# (c) Michael Goetze, 2010-11, mgoetze@mgoetze.net
#! /bin/bash
# (c) Michael Goetze, 2010-11, mgoetze@mgoetze.net
-# Thomas Lange, 2015
+# Thomas Lange, 2015
-2020
error=0; trap 'error=$(($?>$error?$?:$error))' ERR # save maximum error code
error=0; trap 'error=$(($?>$error?$?:$error))' ERR # save maximum error code
-$ROOTCMD authconfig --enableshadow --enablemd5 \
- --enablelocauthorize --updateall
$ROOTCMD usermod -p $ROOTPW root
fcopy -v /etc/selinux/config
$ROOTCMD usermod -p $ROOTPW root
fcopy -v /etc/selinux/config