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, 06: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, 07:45 PM   #2
spankbot
Member
 
Registered: Aug 2007
Posts: 131

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, 10: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, 01:12 AM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
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, 03:32 AM   #5
spankbot
Member
 
Registered: Aug 2007
Posts: 131

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 06:36 PM
The search term you specified (No) is under the minimum word length xpucto LQ Suggestions & Feedback 1 11-13-2007 06:37 AM
Fedora FC3 --How do I change minimum username length heuristik Fedora 1 02-04-2005 03:06 AM
Setting Minimum Password Length (RH 7.1) zyft02 Linux - Newbie 1 02-26-2002 09:49 AM
search terms minimum length okok LQ Suggestions & Feedback 3 02-04-2002 01:22 AM


All times are GMT -5. The time now is 03:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration