PDA

View Full Version : [ubuntu] Password Length


nwe2023
July 12th, 2009, 06:47 PM
How do I configure Ubuntu to allow passwords shorter than six characters in length?

Ubuntu Desktop 9.04 AMD64

theozzlives
July 12th, 2009, 06:56 PM
How do I configure Ubuntu to allow passwords shorter than six characters in length?

Ubuntu Desktop 9.04 AMD64

You don't that I'm aware of, 6 characters is pretty much the standard everywhere. Besides 6 is pretty weak, you should want more for security reasons, caps and numbers also.

Dr Small
July 13th, 2009, 07:18 AM
Instead of hacking the software to suit you, why don't you change your password to suit the software?

Dave_Connor
July 13th, 2009, 07:36 AM
Yeah, I would just set a strong password with numbers and letters +10 characters. The shorter the password then the quicker it can be broken by brute forcing tools.

Hobgoblin
July 13th, 2009, 07:49 AM
A quick Google (http://ubuntuforums.org/archive/index.php/t-840680.html) came up with some suggestions.

Really you should be using a stronger password, but if the only danger of being attacked would require physical access then no length of password will make you secure.

HermanAB
July 13th, 2009, 10:08 AM
Here is a nice article on password length control:
http://www.linux.ie/articles/pam.php

Note that the main reason for Linux machines getting hacked, is bad passwords. My passwords are 12 characters minimum. Usually I use 16 character semi-pronounceable passwords.

Ashish Meena
July 13th, 2009, 10:28 AM
if you really want to do this then you can use root login to change password however this is not recommended.