diff options
author | Yoann Vandoorselaere <yoann@mandriva.com> | 1999-12-15 09:39:33 +0000 |
---|---|---|
committer | Yoann Vandoorselaere <yoann@mandriva.com> | 1999-12-15 09:39:33 +0000 |
commit | 18228772b4d4d9960e3d7b10293519b50287695e (patch) | |
tree | 9a6f0aef9a8a74467cb9bcab3dc43cbd26d3ad9f /init-sh | |
parent | 3973900674e900d357bc88e511a86b2d724b9392 (diff) | |
download | msec-18228772b4d4d9960e3d7b10293519b50287695e.tar msec-18228772b4d4d9960e3d7b10293519b50287695e.tar.gz msec-18228772b4d4d9960e3d7b10293519b50287695e.tar.bz2 msec-18228772b4d4d9960e3d7b10293519b50287695e.tar.xz msec-18228772b4d4d9960e3d7b10293519b50287695e.zip |
*** empty log message ***
Diffstat (limited to 'init-sh')
-rwxr-xr-x | init-sh/custom.sh | 7 | ||||
-rwxr-xr-x | init-sh/level4.sh | 1 | ||||
-rwxr-xr-x | init-sh/level5.sh | 1 | ||||
-rw-r--r-- | init-sh/lib.sh | 4 |
4 files changed, 2 insertions, 11 deletions
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 @@ -13,13 +13,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 if [[ ${answer} == yes ]]; then 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 |