Re: deny su - root

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

 



You can also make sure that you are the only one that knows the password.
Doing a su - root requires a password.  If your users don't know the root
password, they will not be able to access the root account.  Also, as
another of our list members stated, put only users you what to have sudo
access in a group(ie wheel) in your sudoers file.

On Thu, Jun 4, 2009 at 7:00 AM, Daniel Carrillo
<daniel.carrillo@xxxxxxxxx>wrote:

> 2009/6/4 Matias Nicolas <matiasnicolas@xxxxxxxxxx>:
> >
> > hello everybody. I wannna know something... I want to deny the su - root
> to the users in the system. i don't know how to do that... does somebody
> know how to do that??
> >
> >
> >
> > Ex: I got 5 users (user1 user2 user3 user4 mine) I dont want them to do
> su - root. Let's let user2 do su - root And I (the administrator) want to
> login as root  when i get the "login as:" prompt. Is there any possibility
> to do that??
>
> You can edit /etc/pam.d/su and follow the instructions from commented
> lines.
>
> Basically, you can restrict use of su, to the users in group wheel.
>
> BR.
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



-- 
Ezra Taylor
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux