Dan McGhee wrote:
> I reset root's password and then realized I, when I tried to run su, may
> have been misleading in this post. The actual return I get is:
>
> Crypt: Invalid argument
This is what I get:
$ su
Password: badpw
su: Authentication failure
So I suspect some other issue. What do you get with 'ldd /bin/su'?
$ ldd /bin/su
linux-vdso.so.1 (0x00007fff4c5cf000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x00007f87f269d000)
libc.so.6 => /lib/libc.so.6 (0x00007f87f22f3000)
/lib64/ld-linux-x86-64.so.2 (0x00007f87f28f1000)
/etc/passwd should have:
root:x:0:0:root:/root:/bin/bash
and /etc/shadow should have:
root:$6$xxxxxxPwHashxxxxxxxxxxxxxxxxxxx:15010:0:99999:7:::
There should be no punctuation in the hash other than / or . or $
-- Bruce
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page