web of unni

About | GuestBook | Add WebOfUnni to Google ToolBar

Download Day

December 23, 2007

password length problems in linux

Filed under: des, encryption, linux, password — unni @ 1:01 pm

Some times you may have faced a situation in which you can use the first 8 letters of your password for server login even though your actual password length is more than 8 character.

This occurs because of the method of encryption used in linux system. The DES http://en.wikipedia.org/wiki/Data_Encryption_Standard is used in many system to encrypt password uses only 8 characters, rest of the characters doesn’t matters in DES. So anyone can login using first 8 characters of the password.

The solution is to change the encryption method.

1. Run the command “setup” in command prompt

authentication config

2. Select “Authentication configuration” and press “run tool” button
3. In Authentication section select “Use MD5 passwords.

authentication conf

6. press ok and change the password using “passwd” command.

that will fix the issue. :-)

Created and maintained by Unnikrishnan
Hosted by Host cats