LinuxQuestions.org
Visit Jeremy's Blog.
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 10-19-2011, 05:07 PM   #1
Domskis
LQ Newbie
 
Registered: Sep 2011
Posts: 6

Rep: Reputation: Disabled
Unhappy Minimum password length


Hi. I tried everything. Adjusting file /etc/login.
Can't find solution anywhere. I am using ubuntu and I want to make minimum password length of 7 characters for users. How can I do that ?
Thanks
 
Old 10-19-2011, 06:45 PM   #2
spankbot
Member
 
Registered: Aug 2007
Posts: 133

Rep: Reputation: 16
You need to tell us what version of Ubuntu. By default, the default min password length in Ubuntu has been 4 for many versions.

Here is the Ubuntu User Management manual for 10.4. Scroll down to Password Policy
https://help.ubuntu.com/10.04/server...anagement.html
 
1 members found this post helpful.
Old 10-19-2011, 09:46 PM   #3
Domskis
LQ Newbie
 
Registered: Sep 2011
Posts: 6

Original Poster
Rep: Reputation: Disabled
It's the latest ubuntu. But I need to do it from command line. The tutorial for ubuntu is wrong
 
Old 10-20-2011, 12:12 AM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,721

Rep: Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704
Hi,

Not sure about Ubuntu specifics, but if it was me, I'd start with:
Code:
man 8 pam_unix
HTH,

Evo2.
 
Old 10-20-2011, 02:32 AM   #5
spankbot
Member
 
Registered: Aug 2007
Posts: 133

Rep: Reputation: 16
Quote:
Originally Posted by Domskis View Post
It's the latest ubuntu. But I need to do it from command line. The tutorial for ubuntu is wrong
Here is the 11.04 User Management manual. Min password is 6 characters. It's quite easy to edit pam from the command line.
https://help.ubuntu.com/11.04/server...anagement.html
 
  


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
Lock after invalid login attempts, session lock, minimum password length nstarz Linux - Security 1 06-24-2010 05:36 PM
The search term you specified (No) is under the minimum word length xpucto LQ Suggestions & Feedback 1 11-13-2007 05:37 AM
Fedora FC3 --How do I change minimum username length heuristik Fedora 1 02-04-2005 02:06 AM
Setting Minimum Password Length (RH 7.1) zyft02 Linux - Newbie 1 02-26-2002 08:49 AM
search terms minimum length okok LQ Suggestions & Feedback 3 02-04-2002 12:22 AM

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

All times are GMT -5. The time now is 02:26 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