Re: SU to user from NON-root user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ed,

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

On 4/24/06, Ed Schmollinger <schmolli@xxxxxxxxxxxxxx > 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@xxxxxxxxxxxxxx - http://frozencrow.org/


_______________________________________________

Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list





--
Regards
Opesh Alkara
_______________________________________________

Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux