1 reputation
13
bio website techieman.com.au
location Melbourne, Australia
age
visits member for 1 year, 4 months
seen Sep 9 '13 at 15:39

Dec
21
comment CentOS 6.3:Cannot login as root despite the password being correct. Same password working correctly for days
The password was quite secure and it isn't really reachable from the internet. I checked my router and firewall settings. There is no apparent way to enter. I looked at the logs and there is no sign of suspicious activity. All the previous logins refer to known incidents initiated by myself.
Dec
21
comment CentOS 6.3:Cannot login as root despite the password being correct. Same password working correctly for days
No, I cannot login on the machine itself either. Whatever I say or do, is being done on the machine itself now. I'm not concerned about Putty or WinSCP anymore.
Dec
21
comment CentOS 6.3:Cannot login as root despite the password being correct. Same password working correctly for days
I logged in as single user by going into the grub menu and pressing e and then typing "single" then b. It logged me in straight as root and then I did, nano /etc/ssh/sshd_config. Strangely enough, PermitRootLogin was commented with a # but it's option is set to yes. Most other lines are also commented with a #. I removed the # for PermitRootLogin and rebooted the machine. Still no luck.
Dec
21
comment CentOS 6.3:Cannot login as root despite the password being correct. Same password working correctly for days
This may well be the reason but I am still unconvinced as the system continued to work fine after doing the system wide 777. Maybe it kicked in later. Anyway, the server is working fine as a webserver and Apache/Nginx continue to serve up webpages. Except my phpmyadmin isn't working now but that's not my concern now
Dec
20
comment CentOS 6.3:Cannot login as root despite the password being correct. Same password working correctly for days
I'm trying to log in on the machine itself as well as from my usual Windows dekstop sitting next to it using Putty and/or WinSCP
Dec
20
comment CentOS 6.3:Cannot login as root despite the password being correct. Same password working correctly for days
I agree. In my defense, I am a Linux newbie and only started serious work on it last month. I am learning best practices as I go along and after this experience, I am going to ensure I always setup a sudoer and key-based authentication. Thanks for the tip
Dec
20
comment CentOS 6.3:Cannot login as root despite the password being correct. Same password working correctly for days
Hi Marek. Thanks for replying so quickly. Yes, it's safe to reboot. It's a development server and I did reboot it a couple of times already. I had already checked possible keyboard map errors by typing password in the username section to see if the characters appeared any different. The password appeared exactly as intended. I can reset the password if I have to but I'd be more interested in trying to resolve it without having to do the same. I like to get to the bottom of things and therefore would like to know what could have triggered such an event. It's so bizarre and so un-Linux. :-)