Deleted account and leftover folders and files

InteractM

Well-Known Member
Apr 2, 2013
135
1
18
cPanel Access Level
Root Administrator
I have deleted an account but there are leftover files and folders like

/home/{account}/.cpanel (and there bunch of files and folders)
/home/{account}/etc (and there bunch of folders for addon domains)
/home/{account}/mail (and there bunch of folders and files related to email accounts)

Is it safe to delete them through the console?

Thanks
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
Hello,

The files within the deleted account's home directory are not required, however the account termination process should have completely removed the user's home directory. Did you recently delete this account? If so, could you search in /usr/local/cpanel/logs/error_log to find any errors associated with the account termination?

Thank you.