SU to user from NON-root user

Opesh Alkara opeshalkara at gmail.com
Mon Apr 24 00:37:28 UTC 2006


Ed,

Thanks for showing the correct path...I think I am all fixed now...

On 4/24/06, Ed Schmollinger <schmolli at frozencrow.org> wrote:
>
> On Sun, Apr 23, 2006 at 10:29:12PM +0530, Opesh Alkara wrote:
> > Many thanks for reply on command logging....I understood
> >
> > Please can you provide any pointers related the below stated PAM
> > configuration:
> >
> > " I want to have kind of setup
> > > where all my linux users connect to system using their non-wheel
> usernames
> > > and then su to a specific user 'userA'...... without actually knowing
> the
> > password of UserA...pretty much in same way...a user in wheel group can
> > switch to any user."
>
> that sounds like a straightforward sudo setup.
> 1. install sudo
> 2. add users to some group (group "sumo", in example below)
> 3. add a line something like this to /etc/sudoers:
>
> %sumo   ALL = (userA) NOPASSWD: ALL
>
> from left to right, anyone in group "sumo" can execute on any machine,
> as user "userA", without a password, and they can execute any command.
> the man pages for sudoers should have some pretty extensive examples.
>
> --
> Ed Schmollinger - schmolli at frozencrow.org - http://frozencrow.org/
>
>
> _______________________________________________
> Pam-list mailing list
> Pam-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pam-list
>
>
>


--
Regards
Opesh Alkara
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pam-list/attachments/20060424/3b6cdd80/attachment.htm>


More information about the Pam-list mailing list