There is no file /etc/sudoers.d/nna_conf - Only the file /etc/sudoers.d/nagiosna exists.
[root@dehb-nagios-21 ~]# ll /etc/sudoers.d/
total 4
-r--r----- 1 root root 441 Sep 24 08:43 nagiosna
[root@dehb-nagios-21 ~]# cat /etc/sudoers.d/nagiosna
Defaults:%nnacmd !requiretty
Host_Alias HOST = localhost
Cmnd_Alias LIST = /sbin/iptables --list
Cmnd_Alias SAVE = /etc/init.d/iptables save
Cmnd_Alias UPDATE = /sbin/iptables -I INPUT -p udp -j ACCEPT --dport *
Cmnd_Alias DAEMON = /usr/local/nagiosna/bin/nagiosna *
%nnacmd ALL=(ALL) NOPASSWD:LIST
%nnacmd ALL=(ALL) NOPASSWD:SAVE
%nnacmd ALL=(ALL) NOPASSWD:UPDATE
%nnacmd ALL=(ALL) NOPASSWD:/bin/kill *
%nnacmd ALL=(ALL) NOPASSWD:DAEMON
No sources currently exists
Re: No sources currently exists
Here is what mine looks like on the latest version:
Can you try replacing your with those entries and see if it resolves the issue?
Code: Select all
Defaults:%nnacmd !requiretty
Cmnd_Alias LIST = /sbin/iptables --list
Cmnd_Alias SAVE = /etc/init.d/iptables save
Cmnd_Alias UPDATE = /sbin/iptables -I INPUT -p udp -j ACCEPT --dport *
Cmnd_Alias DAEMONCTL = /usr/local/nagiosna/bin/rc.py *
Defaults:nna !requiretty
nna ALL = NOPASSWD:/usr/local/nagiosna/scripts/change_timezone.sh
nna ALL = NOPASSWD:/usr/local/nagiosna/scripts/upgrade_to_latest.sh
%nnacmd ALL=(ALL) NOPASSWD:LIST
%nnacmd ALL=(ALL) NOPASSWD:SAVE
%nnacmd ALL=(ALL) NOPASSWD:UPDATE
%nnacmd ALL=(ALL) NOPASSWD:/bin/kill *
%nnacmd ALL=(ALL) NOPASSWD:DAEMONCTL-
Laude_Volker
- Posts: 7
- Joined: Mon Oct 14, 2013 2:12 am
Re: No sources currently exists
Since the file /etc/sudoers.d/nna_conf is renamed and modified the problem is solved.
Thanks for your brilliant support.
This service request could be closed from now.
Thanks for your brilliant support.
This service request could be closed from now.