Hello guys , I was trying to get a command output from my Centos 6
server using the snmpd "exec" section.
The line added to snmpd.conf id:
exec get_whitelist /bin/cat /home/snmp_user/whitelist.txt
Afer trying to get the resut performing the snmpwalk client form another
server I always got "permission denied"
After reading some forums I founded that disabling selinux It works.
My question is .. What is the proper way to achieve snmpd executing some
commands ?
In my case it is working now but ... Im not sure if disabling selinux is
the best way.
Regards.
Leandro.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos