Operating System - Linux
1830333 Members
2348 Online
110001 Solutions
New Discussion

Password authentication is happening for all the users for login.

 
SOLVED
Go to solution
Rajesh SB
Esteemed Contributor

Password authentication is happening for all the users for login.

Hi,
I have a Linux System with following version/release

"Red Hat Enterprise Linux AS release 3 (Taroon Update 1) Kernel 2.4.21-9.EL on an i686"

Peculiar problem I am facing on this system.
Any body can login to this system by just entering there login id. That is without entering blank/wrong password.

I tried by configuring Athentication Configuration by enabling and disabling of Shadow Password and MD5. But still the same problem.

I am not able to overcome this problem. Any body have any fix on this.
2 REPLIES 2
Alexander Chuzhoy
Honored Contributor
Solution

Re: Password authentication is happening for all the users for login.

the problem is in /etc/pam.d/login file


I'm attaching you an example of original file .Change it -and it should fix it.
Rajesh SB
Esteemed Contributor

Re: Password authentication is happening for all the users for login.

Thanks a lot Mr.Alex. I am able to enable password authentication by modifying the /etc/pam.d/login file, replacing the optional authentication into required.

Cheers,
Rajesh