aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>1999-12-15 17:35:43 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>1999-12-15 17:35:43 +0000
commitdac80ccc71ab83fc7b3936c56d45217dce7cc0d8 (patch)
tree669de22019089382a39045a15852db32f28bb99a
parent6bbeac7023251abb78acebd1efb7f6abf9b514fd (diff)
downloadmsec-dac80ccc71ab83fc7b3936c56d45217dce7cc0d8.tar
msec-dac80ccc71ab83fc7b3936c56d45217dce7cc0d8.tar.gz
msec-dac80ccc71ab83fc7b3936c56d45217dce7cc0d8.tar.bz2
msec-dac80ccc71ab83fc7b3936c56d45217dce7cc0d8.tar.xz
msec-dac80ccc71ab83fc7b3936c56d45217dce7cc0d8.zip
*** empty log message ***
-rw-r--r--ChangeLog4
-rw-r--r--TODO1
-rw-r--r--init-sh/lib.sh17
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 <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
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