Re: SSH authenticate root and nonroot user

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

 



At 23:00 2/3/2004, you wrote:
If you disallow root login, you could let users log in as their regular id,
then use sudo to control what root access is allowed or PAM to
control who can su to what other accounts.

You can also improve this by:


1. chown root.wheel /bin/su

2. chmod 4750 /bin/su

3. Add the users who are authorized to become root to the wheel group with "gpasswd -a user wheel".

Now, only those users will have access to the "su" command. Other users may be given administrative privileges for one or more commands with the "sudo" command.


-- Rodolfo J. Paiz rpaiz@xxxxxxxxxxxxxx http://www.simpaticus.com


-- 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