Operating System - HP-UX
1834150 Members
3469 Online
110064 Solutions
New Discussion

Re: Mapping userid rights in sudo

 
frederick hannah
Super Advisor

Mapping userid rights in sudo

How do apply the same rights to a new userid in sudo to a userid that is already in sudo? I have an 11.11 environment, sudo is 1.6.2b1
9 REPLIES 9
Rick Garland
Honored Contributor

Re: Mapping userid rights in sudo

Duplicate the user rights in the sudoers file for 'newuser'.

If the membership is all that is required, put the 'newuser' into the appropriate group

frederick hannah
Super Advisor

Re: Mapping userid rights in sudo

and of course the newid has to be in the sudo file? Or could it not be and still have sudo rights because its in the same group as the original sudo id?
Rick Garland
Honored Contributor

Re: Mapping userid rights in sudo

It does not have to be because it is in the same group as the olduserID. But this implies that the olduserID has all privs based on group membership.

Rick Garland
Honored Contributor

Re: Mapping userid rights in sudo

It does not have to be because it is in the same group as the olduserID. But this implies that the olduserID has all necessary privs based on group membership.

frederick hannah
Super Advisor

Re: Mapping userid rights in sudo

Ouch, it didnt work. I will have to add the userid to the sudoers file.
frederick hannah
Super Advisor

Re: Mapping userid rights in sudo

Still no good. Any suggestions at all? I may not have properly modified the sudoers file
Rick Garland
Honored Contributor

Re: Mapping userid rights in sudo

Are you using the 'visudo' command? Do not just 'vi' the sudoers file, use the 'visudo' command.

This is typically a requirement.
frederick hannah
Super Advisor

Re: Mapping userid rights in sudo

Yes, I am using the visudo tool. I have made previous modifications and got the desired results. There is probably some minor rule I am violating so this appears to be a trial and error endeavor.
frederick hannah
Super Advisor

Re: Mapping userid rights in sudo

I found the solution and it was something I had overlooked. thanks for your assist.