aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>2000-01-13 09:08:29 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>2000-01-13 09:08:29 +0000
commit26c7d9e8b75cbec9a215a1bf4151aaaedfd55b4f (patch)
treebfda82eb261730d4534d000ce1d74dc2c61ad42e /init-sh
parent1149e92a19b241628d8e43596e4e74d11fd8e40e (diff)
downloadmsec-26c7d9e8b75cbec9a215a1bf4151aaaedfd55b4f.tar
msec-26c7d9e8b75cbec9a215a1bf4151aaaedfd55b4f.tar.gz
msec-26c7d9e8b75cbec9a215a1bf4151aaaedfd55b4f.tar.bz2
msec-26c7d9e8b75cbec9a215a1bf4151aaaedfd55b4f.tar.xz
msec-26c7d9e8b75cbec9a215a1bf4151aaaedfd55b4f.zip
*** empty log message ***
Diffstat (limited to 'init-sh')
-rwxr-xr-xinit-sh/custom.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/init-sh/custom.sh b/init-sh/custom.sh
index 057a288..af4bba5 100755
--- a/init-sh/custom.sh
+++ b/init-sh/custom.sh
@@ -22,7 +22,7 @@ fi
echo "Do you want to only allow ctrl-alt-del if root is logged locally ?"
echo "( or if an user present in /etc/shutdown.allow is logged locally )"
WaitAnswer; clear
-tmpfile=`mktemp tmp/secure.XXXXXX`
+tmpfile=`mktemp /tmp/secure.XXXXXX`
cp /etc/inittab ${tmpfile}
if [[ ${answer} == yes ]]; then
cat ${tmpfile} | \
@@ -50,7 +50,7 @@ fi
echo "Do you want root console login to be allowed ?"
WaitAnswer; clear
if [[ ${answer} == yes ]]; then
-g AddRules "tty1" /etc/securetty quiet
+ AddRules "tty1" /etc/securetty quiet
AddRules "tty2" /etc/securetty quiet
AddRules "tty3" /etc/securetty quiet
AddRules "tty4" /etc/securetty quiet
@@ -74,7 +74,7 @@ if [[ ${answer} == yes ]]; then
fi
###
-echo "Do you want your system to check for grave permission problem on senssibles files ?"
+echo "Do you want your system to check for grave permission problem on sensibles files ?"
WaitAnswer; clear
if [[ ${answer} == yes ]]; then
AddRules "CHECK_PERMS=yes" /etc/security/msec/security.conf