I was trying to add the user and got an error. How to resolve this issue?
How to resolve the issue, “Unable to add the user” in cPanel?
Collapse
X
-
To resolve the issue, follow the steps:
1. First check /usr/local/cpanel/logs/error_log for the error when trying to create an account.
2. chmod +w passwd,v ( cd /etc)
3. ll /etc/group*
-rw-r--r-- 1 root root 6336 Nov 16 21:40 /etc/group
-rw------- 1 root root 6359 Nov 16 21:39 /etc/group-
4. chattr -i /etc/group
5. mv /etc/gshadow /etc/gsahdow.corrupted.
To rebuild the file, execute the command grpconv.
The new account can now be created without any errors.
-
You can visit the link to know how to add a new user in cPanel. https://www.eukhost.com/kb/how-to-ad...ser-in-cpanel/
Comment
Comment