LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 12:21 AM   #1
theif519
Member
 
Registered: Mar 2011
Location: Rochester, NY
Distribution: N/A
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, 12:37 AM   #2
pintooo15
Member
 
Registered: May 2004
Location: India
Distribution: openSUSE Tumbleweed
Posts: 94

Rep: Reputation: Disabled
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, 01:29 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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



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 09:51 PM
Problems setting Password policies kentrimble Linux - Newbie 2 01-31-2010 07:36 PM
problems setting up sendmail for kontact in kubuntu 6.10 nicdee Linux - Software 1 11-12-2006 04:52 PM
how do u check if password has enough characters?? luxpops Programming 4 09-12-2004 04:30 AM
encrypted password 64 characters? uribo Programming 1 04-22-2003 07:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:39 AM.

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
Open Source Consulting | Domain Registration