snmpd quits. as soon as I execute it.

On 3/28/11, Steve Friedl <st...@unixwiz.net> wrote:
> What does "unable" mean? What happens when you try?
>
> -----Original Message-----
> From: Ravi Kumar [mailto:mynets...@gmail.com]
> Sent: Monday, March 28, 2011 9:22 AM
> To: net-snmp-coders
> Subject: unable to run snmpd as non-root user
>
> Hi,
>
> Could any one tell me why the snmpd does not run with sudo as given below.
>
> $ sudo /home/ravi/net-snmp-5.5/agent/snmpd -c
> /home/ravi/net-snmp-5.5/local/snmpd.conf,/var/net-snmp/snmpd.conf -C -u
> ravi
>
> I am trying to run snmpd as root with sudo command on 161 port and switch
> back to user ravi using -u option. User ravi is included in /etc/sudoers
> file.
>
>
> Thanks,
> Ravi
>
> ----------------------------------------------------------------------------
> --
> Create and publish websites with WebMatrix Use the most popular FREE web
> apps or write code yourself; WebMatrix provides all the features you need to
> develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
> _______________________________________________
> Net-snmp-coders mailing list
> Net-snmp-coders@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
>
>

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and publish 
your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to