Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
Securing a login with root attributes
I am using Zabbix, a network monitoring tool as an application to monitor clients remotely.
So, currently i have this applns. agent installed in various remote servers and the appln. server in my local server.
Now, i need to restart a service when it fails in these remote servers.
For which, i need a user with root attributes at the remote servers.
So i added a user zabbix in sudoers as
zabbix ALL=(ALL) NOPASSWD:ALL
Since, this user is almost a root.
I wanted to know what are the ways to protect the user zabbix with these sudo rights?
I wanted to know if having a entry like the below
can ed ssh or execute any commands as sudo using "-u zabbix" ?
Defaults !lecture,tty_tickets,!fqdn # User privilege specification root ALL=(ALL) ALL zabbix ALL=(root,ed) NOPASSWD:ALL