user nagios permissions
user nagios permissions
Does a local user called nagios has root privileges (defined in /etc/sudoers?) to run commands such as "/etc/init.d/nagios start"? No password is required to run them as nagios?
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: user nagios permissions
Hi,
When Nagios XI is installed a local nagios account is created and this account has to be able to restart services and run the backend scripts. This is all defined in the /etc/sudoers file. Also, depending on what OS you are using some of those entries such as ''/etc/init.d/nagios start' are there for backward compatibility.
Let us know if you have any other questions.
--Benjamin
See: https://support.nagios.com/forum/viewto ... =6&t=53907
When Nagios XI is installed a local nagios account is created and this account has to be able to restart services and run the backend scripts. This is all defined in the /etc/sudoers file. Also, depending on what OS you are using some of those entries such as ''/etc/init.d/nagios start' are there for backward compatibility.
Let us know if you have any other questions.
--Benjamin
See: https://support.nagios.com/forum/viewto ... =6&t=53907
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: user nagios permissions
If password of nagios user must be changed because of implementing security policy, will it make nagios services and scripts fail to run or malfunction?
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: user nagios permissions
Hi,
There isn't a password set on the default nagios account. As mentioned, this will cause issues with starting and stopping services.
Hope that helps answer your question.
--Benjamin
Reference:
https://support.nagios.com/forum/viewto ... =6&t=47890
There isn't a password set on the default nagios account. As mentioned, this will cause issues with starting and stopping services.
Code: Select all
chage -l nagios
--Benjamin
Reference:
https://support.nagios.com/forum/viewto ... =6&t=47890
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!