it quits with the same error "initgroups failed: Operation not permitted." even if I run with both options (-u and -g).
Thanks, Ravi On 3/29/11, Dave Shield <[email protected]> wrote: > On 28 March 2011 19:25, Ravi Kumar <[email protected]> wrote: >> Problem comes when I try to switch back to non-root user using -u >> option. After running snmpd using sudo. In this case snmpd quits with >> error "initgroups failed: Operation not permitted." > > > OK - that's useful information. > > What happens if you try to set the group as well as the user? > (i.e. run with both '-u' and '-g') > > Dave > ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
