From dac80ccc71ab83fc7b3936c56d45217dce7cc0d8 Mon Sep 17 00:00:00 2001 From: Yoann Vandoorselaere Date: Wed, 15 Dec 1999 17:35:43 +0000 Subject: *** empty log message *** --- ChangeLog | 4 ++-- TODO | 1 + init-sh/lib.sh | 17 +---------------- 3 files changed, 4 insertions(+), 18 deletions(-) diff --git a/ChangeLog b/ChangeLog index 753317e..9a8f3a4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,7 @@ 1999-15-10 Yoann Vandoorselaere * 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 diff --git a/TODO b/TODO index ece7ad7..1545b64 100644 --- a/TODO +++ b/TODO @@ -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 -- cgit v1.2.1