LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Login Limitations (https://www.linuxquestions.org/questions/red-hat-31/login-limitations-299235/)

mailnickykav 03-08-2005 01:54 PM

Login Limitations
 
Hi all,

I have 2 questions:

1) On my Linux server (redhat) i cannot login directly with root (except at console). Although i can login with any non root id and then SU to root. Where is this setting done?

2) On Another of my linux machines (redhat again) a normal user (non root) cannot su at all (to any id) unless if he is in the group "wheel".
Where is this setting done?

Please advice.

Technoslave 03-08-2005 02:51 PM

Try looking in /etc/security

mailnickykav 03-08-2005 03:10 PM

hi,

i did look through all the files in /etc/security, but did not find anything there that specifies this.

Can you tell me what i should be looking for..

lihmin 03-09-2005 12:02 AM

2)for wheel group
look at /etc/pam.d/su

1)if u using ssh to login then
look at /etc/ssh/sshd_config
PermitRootLogin yes


All times are GMT -5. The time now is 10:40 AM.