Re: Can user without root permission re-configure snmpd service ?

Deepak Sulakhe <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Thomas,
  Could you please elaborate on this ? Where do I need to use sudo ?
   
  Thanks

Thomas Anders <[email protected]> wrote:
  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 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)


 
---------------------------------
Access over 1 million songs - Yahoo! Music Unlimited.

-------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.