diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | TODO | 1 | ||||
-rw-r--r-- | init-sh/lib.sh | 17 |
3 files changed, 4 insertions, 18 deletions
@@ -1,7 +1,7 @@ 1999-15-10 Yoann Vandoorselaere <yoann@mandrakesoft.com> * grpuser.sh take only one opt ( --refresh ), - take group name from /etc/security/msec/init-sh/group.conf - and add user from /etc/security/msec/init-sh/user.conf if secure level > 2 + take group name from /etc/security/msec/group.conf + and add user from /etc/security/msec/user.conf if secure level > 2 * level0.sh fixed inittab entry * fix a typo * As requested, direct shell access for level 0 @@ -1,2 +1,3 @@ - Fix xhost - sysrq +- export SECURE_LEVEL globally diff --git a/init-sh/lib.sh b/init-sh/lib.sh index 124fc63..8340552 100644 --- a/init-sh/lib.sh +++ b/init-sh/lib.sh @@ -212,22 +212,7 @@ groupadd audio >& /dev/null groupadd xgrp >& /dev/null usermod -G xgrp xfs -# We aren't at install time, -# so we delete ( temporarily ) audio user. - -if [[ ! -f /tmp/secure.DrakX ]]; then - if [[ ! -z ${DRAKX_USERS} ]]; then - for user in ${DRAKX_USERS}; do - /etc/security/msec/init-sh/grpuser --del audio "${user}" - done - fi -else - if [[ ! -z ${DRAKX_USERS} ]]; then - AddRules "DRAKX_USERS=${DRAKX_USERS}" /etc/security/msec/security.conf - fi -fi - - +/etc/security/msec/init-sh/grpuser.sh --refresh |