"Login Incorrect" after modifying /etc/passwd !??

"Login Incorrect" after modifying /etc/passwd !??

Post by Louie Cha » Sun, 05 Jul 1998 04:00:00



Hi, dear all !!

I had deleted one user (one line only) in the file /etc/passwd with one
text editor "joe" but I forgot to delete the same user in the file
/etc/shadow.  

Afterwards, I have found one problem,  that all users cannot login the
linux server successfully via either telnet or virtual console locally.
It shows "Login incorrect" although I have entered the right login user
name and password.

But I can login this server with "rlogin" without the "Login incorrect"
problem. Besides, it is also no problem while using ftp, samba ...etc.

Only using telnet and login can get "Login incorrect" problem.

I had tried thousand of methods already. For example, I used "pwck",
"grpck" and "userdel ALLUSERS". I had deleted all users and recreated
them. Besides, I had modified "/etc/pam.conf" and all files "/etc/pam.d"
for testing. But the same problem "Login Incorrect" is still existing !!!
Therefore, I recovered all settings to original from my backup.

I hope someone can give me one help. Thanks !!!

Anyone can give me one help !!!?
Please tell me how to fix this problem.

Thanks a lot for your kind attention !

Best Rgds. Louie

 
 
 

1. how to set /etc/syslog.conf to trace a FTP "login incorrect"

When I start "ftp myrh72", i am asked for a user and a password.
Then "Login failed" message comes to the client machine.
Can someone tell me the "/etc/sysclog.conf" settings so the server
gives me a file with the error that i have ?
Thanks. Sebastian.
P.D.-
now, in "/var/log/messages" i have "failed login from 1.2.3.4", with
no details.

2. Linux wont boot :-(

3. GETSERVBYNAME()????????????????????"""""""""""""

4. linux + win98 on 10 gb hdd

5. Can anyone send me the "/etc/remote" & "/etc/ttydefs" file

6. Manual Update of the Passwd file

7. """"""""My SoundBlast 16 pnp isn't up yet""""""""""""

8. Ports problem continues

9. how 2 change this "hostname login:" to simple "login:"

10. Incorrect key "translation" behavior for "xterm"

11. rss" and "stack" and "data" in /etc/security/limits file

12. Type "(", ")" and "{", "}" in X...

13. xdm on Debian 1.2 : "Login incorrect"