LinHES Forums http://forums.linhes.org/ |
|
root password issue http://forums.linhes.org/viewtopic.php?f=5&t=15131 |
Page 1 of 1 |
Author: | Daved [ Sat May 05, 2007 4:23 pm ] |
Post subject: | root password issue |
I have an eleven character password. I noticed that if I only type in 8 of the characters, it allows me to login over ssh. Not sure if this is by design, a knoppmyth, or ssh issue. Anyone got a clue what's going on? |
Author: | manicmike [ Mon May 07, 2007 12:23 am ] |
Post subject: | Re: root password issue |
Daved wrote: I have an eleven character password. I noticed that if I only type in 8 of the characters, it allows me to login over ssh. Not sure if this is by design, a knoppmyth, or ssh issue. Anyone got a clue what's going on?
ssh encrypts only the first 8 characters of your password. It simply ignores the rest. It's an ssh thing, not Knoppmyth Mike |
Author: | F49BBAE [ Mon May 07, 2007 5:36 pm ] |
Post subject: | |
The passwords for root and first user are encrypted using DES in /usr/local/bin/KnoppMyth-install with the htpasswd command. DES encrypted passwords are truncated to 8 characters. Browse /etc/shadow and you will see root: followed by 13 random characters. For mythtv and any user that has changed their password you will see mythtv:$1$ followed by more than 13 random characters. Change your password with passwd command and it should be encrypted with MD5 and more than 8 characters will be honored. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |