From 18228772b4d4d9960e3d7b10293519b50287695e Mon Sep 17 00:00:00 2001 From: Yoann Vandoorselaere Date: Wed, 15 Dec 1999 09:39:33 +0000 Subject: *** empty log message *** --- init-sh/custom.sh | 7 ------- init-sh/level4.sh | 1 - init-sh/level5.sh | 1 - init-sh/lib.sh | 4 ++-- 4 files changed, 2 insertions(+), 11 deletions(-) (limited to 'init-sh') diff --git a/init-sh/custom.sh b/init-sh/custom.sh index cfd67b7..5bb623b 100755 --- a/init-sh/custom.sh +++ b/init-sh/custom.sh @@ -12,13 +12,6 @@ fi clear -### -echo "Do you want your log file to be in append mode only ?" -WaitAnswer; clear -if [[ ${answer} == yes ]]; then - find /var/log/ -type f -exec chattr +a {} \; -fi - ### echo "Do you want all system events to be logged on tty12 ?" WaitAnswer; clear diff --git a/init-sh/level4.sh b/init-sh/level4.sh index 4bda2af..874634f 100755 --- a/init-sh/level4.sh +++ b/init-sh/level4.sh @@ -15,7 +15,6 @@ fi # Log in append only mode echo -e "Changing attribute of /var/log/* to append only...\n" -chattr +a /var/log/* # All events logged on tty12 echo "Loging all messages on tty12 : " diff --git a/init-sh/level5.sh b/init-sh/level5.sh index dc39415..32f0c8d 100755 --- a/init-sh/level5.sh +++ b/init-sh/level5.sh @@ -10,7 +10,6 @@ if [[ -f /etc/security/msec/init-sh/lib.sh ]]; then fi echo -e "Changing attribute of /var/log/* to append only...\n" -chattr +a /var/log/* # All events logged on tty12 echo "Loging all messages on tty12 : " diff --git a/init-sh/lib.sh b/init-sh/lib.sh index 429db65..2640ba6 100644 --- a/init-sh/lib.sh +++ b/init-sh/lib.sh @@ -21,7 +21,7 @@ WaitAnswer() { done } -AddRules () { +AddRules() { string=$1 file=$2 quiet=$3 @@ -224,7 +224,7 @@ if [[ ! -f /tmp/secure.DrakX ]]; then fi else if [[ ! -z ${DRAKX_USERS} ]]; then - AddRules "${DRAKX_USERS}" /etc/security/msec/security.conf + AddRules "DRAKX_USERS=${DRAKX_USERS}" /etc/security/msec/security.conf fi fi -- cgit v1.2.1