[CentOS] did CentOS x86 5.3 migrate to another hard drive, but console login keeps prompting even with correct password

John Doe jdmls at yahoo.com
Thu Sep 3 09:03:32 UTC 2009


From: choyaumeshu <choyaumeshu at gmail.com>
>I did the following to migrate my CentOS box to the destination hard drive:
>5. modify /boot/grub/menu.lst on both /dev/hdc2 and /dev/hdd2
>6. modify /etc/fstab and /etc/mtab
>additional info:
>1. can boot up system in single user mode
>2. sshd is up but can't ssh in even with correct password

Nothing in the logs?
Maybe do an strace on the login and try to see what makes it fail.
I would suspect a missing suid bit (to read /etc/shadow by example)...
Try 'rpm -qaV'
BTW, did you change all the machine specific things like MAC addresses, ssh server private keys, etc...?

JD


      




More information about the CentOS mailing list