diff options
author | Yoann Vandoorselaere <yoann@mandriva.com> | 1999-12-15 17:35:43 +0000 |
---|---|---|
committer | Yoann Vandoorselaere <yoann@mandriva.com> | 1999-12-15 17:35:43 +0000 |
commit | dac80ccc71ab83fc7b3936c56d45217dce7cc0d8 (patch) | |
tree | 669de22019089382a39045a15852db32f28bb99a | |
parent | 6bbeac7023251abb78acebd1efb7f6abf9b514fd (diff) | |
download | msec-dac80ccc71ab83fc7b3936c56d45217dce7cc0d8.tar msec-dac80ccc71ab83fc7b3936c56d45217dce7cc0d8.tar.gz msec-dac80ccc71ab83fc7b3936c56d45217dce7cc0d8.tar.bz2 msec-dac80ccc71ab83fc7b3936c56d45217dce7cc0d8.tar.xz msec-dac80ccc71ab83fc7b3936c56d45217dce7cc0d8.zip |
*** empty log message ***
-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 |