Results 1 to 4 of 4
Does anyone know how to restrict only certain users to log into my RHEL 5.3 cluster? I have tried using pam.d but no luck....
- 08-23-2010 #1Just Joined!
- Join Date
- Aug 2010
- Posts
- 3
To restrict user login on RHEL 5.3 cluster
Does anyone know how to restrict only certain users to log into my RHEL 5.3 cluster? I have tried using pam.d but no luck.
- 08-23-2010 #2
give them /sbin/nologin as login shell in /etc/passwd
You must always face the curtain with a bow.
- 08-23-2010 #3Just Joined!
- Join Date
- Aug 2010
- Posts
- 3
It is connected to NIS to authenticate users, so editing local /etc/passwd wouldn't help.
- 08-23-2010 #4
To my shame, I must admit I never set up a NIS server.
But I know for sure, that it hosts the same fields as a passwd does.
So, change the default shell for the appropiate NIS users to /sbin/nologinYou must always face the curtain with a bow.


Reply With Quote