LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-28-2013, 01:21 AM   #1
theif519
Member
 
Registered: Mar 2011
Location: Philadelphia, PA
Distribution: Kubuntu 12.10
Posts: 255

Rep: Reputation: 4
Problems with setting password over eight characters; Kubuntu 12.10


Quote:
The password is longer than 8 characters. On some systems, this can cause problems. You can truncate the password to 8 characters, or leave it as it is.
I'm a rather paranoid guy, so I like to set a really long password. Although I re-use my passwords a lot, I have four from 8 alphanumerical characters to 28 alphanumerical characters, the longest one is for crucial things like login password and other stuff... and I wanted to make my root password the 28 character one, but apparently it has problems with that. Is there a way to force a longer password, and if so, what difficulties could arise while doing so? Although having to type the ridiculously long password whenever I type in sudo, and since logging in as root is a no-no on Ubuntu, it's going to be very often, but I'd rather have to take extra time than have someone break into my laptop (Yes, I'm paranoid) and doing what he wants to it, and of course threats via online/hackers and whatnot. I am aware the possibilities of that happening are rather slim, but I like to be prepared.

Anyway: Clarification -- Limits to 8 characters, when I try to set longer, it truncates it to the first eight characters and anything past that becomes invalid. I want to set at least a 10 character password, but ideally I want a 28 character password.
 
Old 02-28-2013, 01:37 AM   #2
pintooo15
Member
 
Registered: May 2004
Location: on the interwebz
Distribution: linux mint 13/sled 11 sp2
Posts: 76

Rep: Reputation: 21
http://www.deer-run.com/~hal/sysadmin/pam_cracklib.html Cracklib PAM module seems to be one way to enforce or change the minimum password length. Perhaps 8 characters is already set there.
 
Old 02-28-2013, 02:29 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Have a look to see if you have a file /etc/login.defs. The 8 char limit is due to using the old Unix crypt function.
These days various hash fns are available for much longer passwd eg on RHEL 6.3, default setting is
Code:
# Use SHA512 to encrypt password.
ENCRYPT_METHOD SHA512
See note here http://linux.die.net/man/8/pam_passwdqc for max
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Installed newest Ubuntu setting a weak password. Changed password now buggered? lugoteehalt Ubuntu 1 05-29-2010 10:51 PM
Problems setting Password policies kentrimble Linux - Newbie 2 01-31-2010 08:36 PM
problems setting up sendmail for kontact in kubuntu 6.10 nicdee Linux - Software 1 11-12-2006 05:52 PM
how do u check if password has enough characters?? luxpops Programming 4 09-12-2004 05:30 AM
encrypted password 64 characters? uribo Programming 1 04-22-2003 08:51 AM


All times are GMT -5. The time now is 08:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration