aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh
diff options
context:
space:
mode:
authorFlorin Grad <florin@mandriva.com>2001-11-08 15:23:55 +0000
committerFlorin Grad <florin@mandriva.com>2001-11-08 15:23:55 +0000
commit9673d72a824c63ca3013f4a36a13082c62f7813f (patch)
tree5791435f99af2f4b5b2d83ea8facd1315e6ccc74 /init-sh
parent4865791397eb14012ab158975072a049af9ec029 (diff)
downloadmsec-9673d72a824c63ca3013f4a36a13082c62f7813f.tar
msec-9673d72a824c63ca3013f4a36a13082c62f7813f.tar.gz
msec-9673d72a824c63ca3013f4a36a13082c62f7813f.tar.bz2
msec-9673d72a824c63ca3013f4a36a13082c62f7813f.tar.xz
msec-9673d72a824c63ca3013f4a36a13082c62f7813f.zip
new support for snf
Diffstat (limited to 'init-sh')
-rwxr-xr-xinit-sh/grpuser.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/init-sh/grpuser.sh b/init-sh/grpuser.sh
index 7186ff5..31b6996 100755
--- a/init-sh/grpuser.sh
+++ b/init-sh/grpuser.sh
@@ -78,7 +78,7 @@ IsUserExisting() {
}
RefreshAdd() {
- if [[ ${SECURE_LEVEL} > 2 ]]; then
+ if [[ ${SECURE_LEVEL} == 3 || ${SECURE_LEVEL} == 4 || ${SECURE_LEVEL} == 5 || ${SECURE_LEVEL} == snf ]]; then
echo "You are in a secure level > 2, in this level you need to add group user by yourself."
echo "Use the command : usermod -G group_name user_name"
exit 1;