|
HI All Is this a bug or am I doing something wrong? Or Can anyone tell me why I can’t execute a bash script
from net-snmp using the exec command? It always returns “permission denied” I’ve been racking my brains trying to figure out why I
am getting “permission denied” in the following case. Using UCDavis MIB in snmpd.conf version
net-snmp-5.2.1.2-fc4.1 here is what I have Snmpd.conf exec active_calls /bin/bash /usr/src/results when I walk the mib or snmpget I get back bin/bash: /usr/src/results: permission denied results file is #!/bin/bash declare -i RESULT=`cat /usr/src/active` printf %d $RESULT exit $RESULT I have chmod 777 the file and the directory but still no
luck. Any help would be greatly appreciated Rick |
_______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
