diff options
author | Yoann Vandoorselaere <yoann@mandriva.com> | 2000-01-13 09:08:29 +0000 |
---|---|---|
committer | Yoann Vandoorselaere <yoann@mandriva.com> | 2000-01-13 09:08:29 +0000 |
commit | 26c7d9e8b75cbec9a215a1bf4151aaaedfd55b4f (patch) | |
tree | bfda82eb261730d4534d000ce1d74dc2c61ad42e /init-sh | |
parent | 1149e92a19b241628d8e43596e4e74d11fd8e40e (diff) | |
download | msec-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-x | init-sh/custom.sh | 6 |
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 |