Page 1 of 1
Create user for Backup and Restore
Posted: Wed Sep 13, 2017 12:49 pm
by sandeepatil
We are not using root user for Backup and Restore, due to security policy.
Need to create user with only require permissions, can you share user permissions for Backup and Restore.
Re: Create user for Backup and Restore
Posted: Wed Sep 13, 2017 2:09 pm
by dwasswa
Hi
@sandeepatil,
Are you trying to run the backup and restore script manually or in the gui or are you trying to schedule this backup and restore script?
Also, run the command below to see the permissions on the backup and restore scripts.....
and
Please also look at the doc below on Managing Permissions
https://assets.nagios.com/downloads/nag ... Rights.pdf
Re: Create user for Backup and Restore
Posted: Thu Sep 14, 2017 4:33 am
by sandeepatil
Hi,
We are not using GUI, we are running the script manually (cron also) and script are modified as per our environment, path of files/directory's are not as default.
I am not taking about backup script file permissions and XI user permissions, this is about mariadb user permissions (Default is root) used for taking backup of databases and restore it.
Re: Create user for Backup and Restore
Posted: Thu Sep 14, 2017 12:26 pm
by dwhitfield
You will need to be root if you want things other the XI-specific tables. The other users you can find in your config.inc.php file, but by default those users are nagiosxi, ndoutils, and nagios. You could just use those users. Alternatively, you could look up the grant permissions of those users for your new single user.
Re: Create user for Backup and Restore
Posted: Mon Nov 20, 2017 8:41 am
by sandeepatil
We have created user with different permission, its working for backup and restore.
Please close this thread.
Re: Create user for Backup and Restore
Posted: Mon Nov 20, 2017 10:05 am
by kyang
Sounds good! I'll be closing this thread!
If you have any more questions, feel free to create another thread.
Thanks for using the Nagios Support Forum!