Hi all!

Thanks Robert!
I'm sorry but I think I do not clarify myself properly... I want that both 
users set the same OIDs but only one can set a particular OID with a 
particularly value. I mean both can set and get the OID1 but only one user can 
set the OID1 with value 4. So, unfortunately the solution is not that easy.
The only solution that I can think of is to know the user inside the handler.
Any idea!

Thank you all,
Ângela


-----Original Message-----
From: Robert Story [mailto:[email protected]] 
Sent: quinta-feira, 12 de Fevereiro de 2009 15:13
To: [email protected]
Subject: Re: Getting info about the users in the handler

On Wed, 11 Feb 2009 17:24:42 -0000 Angela wrote:
AL> At the moment I restrict the elements using
AL> 
AL> rwuser USER1 authnopriv 1.3.6.1
AL> rwuser USER2 authpriv 1.3.6.1
AL> 
AL> Is there a better way to do it?
AL> 
AL> Besides that if I could get the user name it will be very useful because I 
need to differentiate users. I want that the two users access to the same 
elements but only one user can set the element with a particular value... 
That's why it would be very useful to differentiate the users by the name. Can 
you give me more clues?

Make the user who you don't want to be able to set values a 'rouser' instead or 
a 'rwuser'.

------------------------------------------------------------------------------
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

------------------------------------------------------------------------------
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to