Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-10-2013, 07:09 PM   #1
Registered: Dec 2006
Posts: 107

Rep: Reputation: 17
Password strength Suse 11

hi guys
Suse 11 SP x64

I want to set a password policy but I am unable to get it working

I have this under /etc/pam.d/common-password

password        requisite  nullok cracklib
password        required    use_authtok nullok
I tried the last line but I get some errors when a new user is trying to set his/her password

password        requisite  nullok cracklib
password        required    use_authtok nullok
password        requisite retry=3 minlen=8 lcredit=-1 ucredit=-1 dcredit=-1 ocredit=-1 difok=3
basically I want the user to user uppercase letter, lower case letter, a symbol and a number and only 3 previous characters are permitted from previous password

any idea how to fix this?

thanks a lot
Old 06-17-2013, 01:01 PM   #2
Senior Member
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
Here's my /etc/pam.d/common-password:
password        requisite minlen=7 dcredit=-2 ucredit=-1 lcredit=-1 
password        required        remember=4 
password        required    use_authtok nullok
1 members found this post helpful.


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
How to test password strength codergeek General 21 02-08-2013 11:20 PM
[PHP] checking password strength -- cracklib recommended? zirias Programming 7 07-18-2010 07:52 AM
password strength abhi_mattur Linux - Security 5 02-01-2008 02:34 PM
How to set login and password and root password in suse 10.2 sirius57 SUSE / openSUSE 8 07-24-2007 10:51 AM
Help using Crack for testing password strength dai Linux - Security 2 07-02-2003 04:34 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:18 AM.

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