incorrect login on the console but accepted on telnet-ssh session
Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
incorrect login on the console but accepted on telnet-ssh session
Hello,
I am new on this forum as I installed recently a FAN 1.1 distribution to deploy Nagios on my network.
This distribution is based on CentOs 5.2.
I managed to get a full working installation with Nagios and Centreon.
Then I decided to install OCS Inventory and GLPI on the same server. this worked also.
Then I joined the server to the AD domain, installing samba and winbind.
Everything worked fine.
This monday I found the server completely freezed and had no other choice than shutting it down. But when it restarted, I went into a lot of problems.
The first one I could not resolve is that I cannot log anymore on the console : I receive "Incorrect login" for all the valid users I know, even with root.
When I connect with PuTTY I can specify root and the password and I get logged. su accepts the other users.
Does anybody have any idea about it?
Here is my system-auth :
#%PAM-1.0
# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
auth required pam_env.so
auth sufficient pam_unix.so nullok try_first_pass
auth requisite pam_succeed_if.so uid >= 500 quiet
auth sufficient pam_winbind.so use_first_pass
auth required pam_deny.so
Have you ruled out any full filesystems? Experience has taught me to always do a 'df' before getting carried away with the detail. I've seen a full rootfs cause these sorts of issues in the past.
It does not seem to be a problem. But after the hard reboot, I got a lot of errors in the boot process because a lot of files were universally accessible and not taken into account by the applications.
I corrected it with chmod and now I do not get any one of these warnings.
I added tty0 , rebooted and got no difference. As the server is not yet in the computer room, I still use a PS2 keyboard and a screen attached to the video port and did not think that ttyS0 should be used.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.