aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;