Deepak Sulakhe wrote: > We have installed, net-snmp on Linux platform. We have an application which > provides Graphical User Interface(GUI) to configure snmpd.conf file. Once > user performs configuration, this GUI based application sends command "pkill > -SIGHUP -U root snmpd" so that snmpd service re-initialises itself with new > values specified in snmpd.conf file. > The problem start here, GUI based application is owned by user who is not > root hence this application would not be able to execute above mentioned > command. Even if it executes "pkill -SIGHUP -U <user_name> snmpd" command, > snmpd service does not re-initialises itself because the owner of snmpd > service is "root". > Is there any way by which GUI based application (whose owner is not root) > can re-initialise snmpd service ?
"sudo" can solve problems like these. +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
