This is a discussion on Subject: Can user without root permission re-configure snmpd service ? within the SNMP Coders forums, part of the Networking and Network Related category; --===============0684098237== Content-Type: multipart/alternative; boundary="0-586348990-1171385226=:32139" Content-Transfer-Encoding: 8bit --0-586348990-1171385226=:32139 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============0684098237==
Content-Type: multipart/alternative; boundary="0-586348990-1171385226=:32139" Content-Transfer-Encoding: 8bit --0-586348990-1171385226=:32139 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 ? --------------------------------- Be a PS3 game guru. Get your game face on with the latest PS3 news and previews at Yahoo! Games. --0-586348990-1171385226=:32139 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit <div>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.<BR>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". </div> <div>Is there any way by which GUI based application (whose owner is not root) can re-initialise snmpd service ?</div><p> <hr size=1>Be a PS3 game guru.<br>Get your game face on with <a href="http://us.rd.yahoo.com/evt=49936/*http://videogames.yahoo.com">the latest PS3 news and previews at Yahoo! Games.</a> --0-586348990-1171385226=:32139-- --===============0684098237== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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=...057&dat=121642 --===============0684098237== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders --===============0684098237==-- |
![]() |
| Thread Tools | |
| Display Modes | |
|
|