How would you rectify the problem 'Can't create new cpanel accounts'?

Discussion in 'Server Operation' started by Hostechsupport, May 13, 2019.

  1. If you are creating a Cpanel account for a domain, let’s say abc.com and after filling

    Up all the details, required to create an account, you get the error Unable to add the user

    'abccom'

    In that case, refer the below steps to rectify the issue:

    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.
     

Share This Page