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

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 ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-13-2007
Deepak Sulakhe
 
Posts: n/a
Default Subject: Can user without root permission re-configure snmpd service ?

--===============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&nbsp; -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&nbsp; -U &lt;user_name&gt; 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==--

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:13 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0