Re: running agentx sub-agent as non root

2006-03-03 Thread Sachin Mishra
Thanks Dave. It seems the functionality of init_agent API has been
changed significantly from 5.2 to 5.3. I was using the agentXPerms but
that was not being taken in consideration in 5.2.x but is taken care in
5.3.x. So, it resolves my problem.

-Sachin

 
On Thu, 2006-03-02 at 22:22, Dave Shield wrote:
> On Thu, 2006-03-02 at 17:23 +0530, Sachin Mishra wrote:
> >   Isn't there
> > a way to specify it in the config so that I can make [/var/agentx/master]
> > work as a non-root user. 
> 
> See 'agentXPerms' in snmpd.conf(5)
> 
> I believe this is only documented in the most recent release (5.3),
> but it should work in earlier versions as well.
> 
> Dave
> 



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: running agentx sub-agent as non root

2006-03-02 Thread Dave Shield
On Thu, 2006-03-02 at 17:23 +0530, Sachin Mishra wrote:
>   Isn't there
> a way to specify it in the config so that I can make [/var/agentx/master]
> work as a non-root user. 

See 'agentXPerms' in snmpd.conf(5)

I believe this is only documented in the most recent release (5.3),
but it should work in earlier versions as well.

Dave


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


running agentx sub-agent as non root

2006-03-02 Thread Sachin Mishra
   I am having problem running agentx subagent as a non-root user. I
went through some earlier discussion on this in the mailing list where
we talk about tweaking the permission of /var/agentx/master. Isn't there
a way to specify it in the config so that I can make it work as a
non-root user. 
  I tried by giving the -x option while running snmpd. In this case, how
to make sub-agent aware of the port where master is running. It seems
that init_agent call by default takes a fixed value for port of master
agent and it can't be changed using configuration.

Thanks,
Sachin



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users