This is a discussion on Re: snmpd must be root? within the SNMP Coders forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. --------------080707030102000901020206 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 8bit ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a multi-part message in MIME format.
--------------080707030102000901020206 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 8bit the snmpd,and if you run snmpd as a normal user,there might be some files that snmpd can not access.You should make them change also. Isaac Eliassi дµÀ: > chmod to which file? > > -----Original Message----- > From: Sun Le [mailto:sunle@dimacn.net] > Sent: Sunday, March 23, 2008 3:10 PM > To: Isaac Eliassi > Cc: net-snmp-coders@lists.sourceforge.net; net-snmp-users@lists.sourceforge.net > Subject: Re: snmpd must be root? > > What kinda user do you want? > - To anyone: chmod command > - To some specified user: chown command > > > Isaac Eliassi wrote: > >> Hi >> >> I am creating an agent and I noticed that when I run it as root >> everything seems to be ok, >> >> When I execute it as another user I get the following error : >> >> >> >> Error opening specified endpoint "" >> >> Server Exiting with code 1 >> >> >> >> The execution command are the same >> >> /usr/local/sbin/snmpd -c /usr/local/share/snmp/snmpd.conf -C -Lf 1.txt >> >> >> >> Is it because the default UDP port is 161 ? how can I run it as a user >> which is not a superuser? >> >> >> >> Thanks , Isaac Eliassi >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> > -- > ËïÀÖ(Sun Le,Sandy) > Dima Technologies Co.,Ltd > --------------080707030102000901020206 Content-Type: text/x-vcard; charset=utf-8; name="sunle.vcf" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="sunle.vcf" YmVnaW46dmNhcmQNCmZuO3F1b3RlZC1wcmludGFibGU6PUU1PU FEPTk5PUU0PUI5PTkwKFN1 biBMZSkNCm47cXVvdGVkLXByaW50YWJsZTtxdW90ZWQtcHJpbn RhYmxlOj1FNT1BRD05OTs9 RTQ9Qjk9OTANCm9yZzpEaW1hIFRlY2hub2xvZ2llcztTb2Z0d2 FyZSBEZXBhcnRtZW50DQph ZHI6Tm8uMjg1IFpob25nc2hhbiBOb3J0aCBSZDs7Um9vbSAxMz AyO05hbmppbmc7OzIxMDAw MztDaGluYQ0KZW1haWw7aW50ZXJuZXQ6c3VubGVAZGltYWNuLm 5ldA0KdGl0bGU6RGlyZWN0 b3IvU2VuaW9yIEVuZ2luZWVyDQp0ZWw7d29yazorODYtMjUtOD MzNDE2NzAgZXh0IDE4OA0K dGVsO2ZheDorODYtMjUtODMzNDI5MzkgZXh0IDEyOA0KeC1tb3 ppbGxhLWh0bWw6RkFMU0UN CnVybDpodHRwOi8vd3d3LmRpbWFjbi5uZXQNCnZlcnNpb246Mi 4xDQplbmQ6dmNhcmQNCg0K --------------080707030102000901020206 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ --------------080707030102000901020206 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 --------------080707030102000901020206-- |