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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



From: choyaumeshu <choyaumeshu@xxxxxxxxx>
>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


      

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux