From 27d842aa9fa2e9fc83b49da73bb8cbaea89220e2 Mon Sep 17 00:00:00 2001 From: Yoann Vandoorselaere Date: Wed, 8 Dec 1999 12:00:22 +0000 Subject: *** empty log message *** --- init-sh/lib.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'init-sh/lib.sh') diff --git a/init-sh/lib.sh b/init-sh/lib.sh index 971a228..07a0507 100644 --- a/init-sh/lib.sh +++ b/init-sh/lib.sh @@ -99,7 +99,7 @@ Syslog() { Ttylog() { if [ "${TTY_LOG}" == "yes" ]; then - for i in `w | grep -v "load\|TTY" | awk '{print $2}'` ; do + w | grep -v "load\|TTY" | awk '{print $2}' | while read line; do echo -e ${1} > /dev/$i done fi @@ -166,6 +166,7 @@ CleanRules /etc/profile CleanRules /etc/lilo.conf CleanRules /etc/rc.d/rc.firewall CleanRules /etc/crontab +CleanRules /etc/security/msec/security.users echo -e "\nStarting to reconfigure the system : " @@ -188,6 +189,8 @@ if [ ! -f /tmp/secure.DrakX ]; then echo "Problem removing user \"${user}\" from group audio." fi done +else + AddRules "${DRAKX_USERS}" /etc/security/msec/security.conf fi -- cgit v1.2.1