Fixes #13
This commit is contained in:
@@ -170,10 +170,10 @@ printf "DONE\n"
|
|||||||
# USER SECURITY
|
# USER SECURITY
|
||||||
############################################
|
############################################
|
||||||
printf "Changing /auth.conf ownership to nonrootuser with read only access..."
|
printf "Changing /auth.conf ownership to nonrootuser with read only access..."
|
||||||
chown nonrootuser /auth.conf
|
err=$(chown nonrootuser /auth.conf 2>&1)
|
||||||
exitOnError $?
|
if [ "$(echo "$err" | grep "Read-only file system")" = "" ]; then exitOnError $?; fi
|
||||||
chmod 400 /auth.conf
|
err=$(chmod 400 /auth.conf 2>&1)
|
||||||
exitOnError $?
|
if [ "$(echo "$err" | grep "Read-only file system")" = "" ]; then exitOnError $?; fi
|
||||||
printf "DONE\n"
|
printf "DONE\n"
|
||||||
|
|
||||||
############################################
|
############################################
|
||||||
|
|||||||
Reference in New Issue
Block a user