Issue
There is the following error during the cldeploy script working:
You have users in the group 'clsudoers', 'clsupergid' or both.
This may create a security issue on the server, because after the conversion
the users in those groups will be granted permissions higher than of a simple user.
Please move the users to another group(s).
Environment
- CloudLinux 7/Hybrid
- Any control panel
Solution
1. Check the /etc/group file for users in the groups clsupergid
and clsudoers
:
egrep 'clsudoers|clsupergid' /etc/group
Example of the output:
# egrep 'clsudoers|clsupergid' /etc/group
clsupergid:x:1000:root,mailman,polkitd
clsudoers:x:1001:root
2. Remove users from the groups. In this case, they are root, mailman, polkitd
:
# gpasswd -d mailman clsupergid
Removing user mailman from group clsupergid
# gpasswd -d polkitd clsupergid
Removing user polkitd from group clsupergid
# gpasswd -d root clsupergid
Removing user root from group clsupergid
# gpasswd -d root clsudoers
Removing user root from group clsudoers
3. Run the cldeploy script again.
You may run:
# wget https://repo.cloudlinux.com/cloudlinux/sources/cln/cldeploy
# sh cldeploy -i --skip-registration
Cause
The users were added to the groups clsupergid
and clsudoers
before CloudLinux installation. It happens when you had CloudLinux on your server before and install it again.
Comments
0 comments
Please sign in to leave a comment.