On Dec 2, 2013, at 4:44 PM, 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
It's always helpful to run strace to get a better idea of what is going on. Also, it helps to have the exact message. I see crypt: Invalid argument, I have also seen Crypt: Invalid Argument, and lots of upper and lower case differences between other people and their posts. Give the exact message. Crypt(3) is this: char *crypt(const char *key, const char *salt); When you have something not correct with your configuration you will get a problem. Usually it is from an invalid seed. Especially when using an invalid salt format. When the password is set a second time, after login.defs is set and you setup sudo (especially when using cracklib and setting up sudo for login and passwd), you may need to reset the root passwd for a valid salt. Not too sure about that, but that is what I'm gathering. Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
