Editing /var/cpanel/users/username

domeneas

Active Member
Sep 20, 2013
40
3
58
cPanel Access Level
Root Administrator
Hi,

I want to mass manipulate my users Contact Information Notification options in the /var/cpanel/users/username files with a script, but when I manually edit the file, the change does not show in cpanel for the user.

I'm guessing I need to run something after I have made the edit.

It says at the top of the file:

# cPanel -- If you edit this file directly you must run /usr/local/cpanel/scripts/updateuserdomains afterwards to rebuild the system caches.

Running that does not make the edit show in the users Cpanel.

Thank you.
 
Last edited: