diff options
author | Yoann Vandoorselaere <yoann@mandriva.com> | 1999-12-08 12:00:22 +0000 |
---|---|---|
committer | Yoann Vandoorselaere <yoann@mandriva.com> | 1999-12-08 12:00:22 +0000 |
commit | 27d842aa9fa2e9fc83b49da73bb8cbaea89220e2 (patch) | |
tree | 66bc80fb5d10f8dd1024abbb99ec99984002d31c /init-sh/lib.sh | |
parent | b9b97333067488941954d9991d8dd47c9b2fb9d1 (diff) | |
download | msec-27d842aa9fa2e9fc83b49da73bb8cbaea89220e2.tar msec-27d842aa9fa2e9fc83b49da73bb8cbaea89220e2.tar.gz msec-27d842aa9fa2e9fc83b49da73bb8cbaea89220e2.tar.bz2 msec-27d842aa9fa2e9fc83b49da73bb8cbaea89220e2.tar.xz msec-27d842aa9fa2e9fc83b49da73bb8cbaea89220e2.zip |
*** empty log message ***
Diffstat (limited to 'init-sh/lib.sh')
-rw-r--r-- | init-sh/lib.sh | 5 |
1 files changed, 4 insertions, 1 deletions
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 |