Re: snmpd must be root?

Sun Le <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization 迪码科技有限公司 Dima Technologies C o.,Ltd
Message-ID <[email protected]>
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:[email protected]]
> Sent: Sunday, March 23, 2008 3:10 PM
> To: Isaac Eliassi
> Cc: [email protected]; [email protected]
> 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
>

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

_______________________________________________
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
sunle.vcf (text/x-vcard, 432 B)
begin:vcard
fn;quoted-printable:=E5=AD=99=E4=B9=90(Sun Le)
n;quoted-printable;quoted-printable:=E5=AD=99;=E4=B9=90
org:Dima Technologies;Software Department
adr:No.285 Zhongshan North Rd;;Room 1302;Nanjing;;210003;China
email;internet:[email protected]
title:Director/Senior Engineer
tel;work:+86-25-83341670 ext 188
tel;fax:+86-25-83342939 ext 128
x-mozilla-html:FALSE
url:http://www.dimacn.net
version:2.1
end:vcard
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.