The WHM cPanel web-hosting control panel is one of the widely used, user friendly control panel. For the users having their accounts, cPanel provided lots of options to control the web hosting account with great utilities.
Follow the below steps to enable or disable users to update Awstats setting from cPanel
Login into the cPanel and go to the File Manager.
From file Manager, navigate to /home/username/tmp/awstats/ folder.
Edit the .conf file of your domain. Example - awastats.yourdomain.conf
Note: If the domain is using SSL then navigate folder /home/username/tmp/awstats/ssl and update the .conf file.
Search for the string AllowToUpdateStatsFromBrowser and change the value from 0 to 1.
Save the page and re-load the domain Awstats page. The update now option will be visible on the page as in below image.
Follow the below steps to enable or disable users to update Awstats setting from WHM.
Logging in the WHM control panel.
Navigate to Home > Server Configuration > Tweak Settings > Stats and Logs.
Search for "Allows users to update AWstats from cPanel" option and select "On" to enable users to update Awstasts from cPanel.
To disable, select "Off" option to disable users from updating Awstats from cPanel.
Save the settings.
Note: Enabling users to update Awastats from cPanel may increase server load. Also, normal users will not have access to WHM control panel as it is restricted to server administrators. Speak to your hosting provider in this case.
Alternatively, the server administrator having root access can run following command to update Awstats of a particular user:
[username] is the cPanel username you wish to update.
Hope this helps!