Enforcing password length.


 
Thread Tools Search this Thread
Operating Systems Solaris Enforcing password length.
# 1  
Old 05-05-2009
Enforcing password length.

I would like to enforce the users to use 15 character passwords. I have edited the /etc/default/passwd and given PASSLENGTH=15. What i noticed is that when user changes the password next time, it will enforce the a 15 character password but during the next logon, it verifies only first 8 characters.

Any thoughts ?

Any help is appreciated! Thanks.
# 2  
Old 05-05-2009
Aren't you really trying to enforce complexity over password length. An 8 character password can be complex if it is not a dictionary word, has Upper case and lower case alpha, numbers and special characters. I think most *nix have a limit on how many characters in a password will be checked.
This User Gave Thanks to gandolf989 For This Post:
# 3  
Old 05-05-2009
The number of characters actually used in the password depend on the algorithm used. It can be set in /etc/security/policy.conf on Solaris.
This User Gave Thanks to jlliagre For This Post:
# 4  
Old 05-05-2009
I don't see any options or parameter related to password length in the policy.conf.

Thanks.
# 5  
Old 05-05-2009
This User Gave Thanks to reborg For This Post:
# 6  
Old 05-06-2009
Quote:
Originally Posted by uxadmin007
I don't see any options or parameter related to password length in the policy.conf.
Indeed. I meant the algorithm can be set in the policy.conf file.
This User Gave Thanks to jlliagre For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Flat file-make field length equal to header length

Hello Everyone, I am stuck with one issue while working on abstract flat file which i have to use as input and load data to table. Input Data- ------ ------------------------ ---- ----------------- WFI001 Xxxxxx Control Work Item A Number of Records ------ ------------------------... (5 Replies)
Discussion started by: sonali.s.more
5 Replies

2. Red Hat

Security Question: Lock after invalid login, Session Lock and Required Minimum Password Length

Hello all, If anyone has time, I have a few questions: How do I do the following in Linux. We are using Red Hat and Oracle Enterprise Linux, which is based on Red Hat too. 1. How to lock the account after a few (like 3) invalid password attempts? 2. How do you lock a screen after 30... (1 Reply)
Discussion started by: nstarz
1 Replies

3. Red Hat

Increase Password length

Hello All, I am using RHEL 4. Currently maximum password length limit is set to 8 on my system. Please tell what do i need to change to increase this limit to say 20. I changed the login.defs and included the following line - " PASS_MAX_LEN 20 " but this dint work. I further... (7 Replies)
Discussion started by: shamik
7 Replies

4. AIX

AIX 5.3 userid password length to 6

Hi All, How can I make the password of only two userid with 6 length while others are using regular policy of 8 or more length. Please help. Thanks. (2 Replies)
Discussion started by: itik
2 Replies

5. UNIX for Dummies Questions & Answers

What the command to find out the record length of a fixed length file?

I want to find out the record length of a fixed length file? I forgot the command. Any body know? (9 Replies)
Discussion started by: tranq01
9 Replies

6. HP-UX

minimum password length

Dear frnds, how i can make the password 5chs minimum length in hp-ux 11i ? pls help regards (3 Replies)
Discussion started by: jestinabel
3 Replies

7. AIX

password length

hi friends, anybody know how many character of password length in aix5.3? please help me TIA bong (1 Reply)
Discussion started by: bong02
1 Replies

8. UNIX for Dummies Questions & Answers

Sed working on lines of small length and not large length

Hi , I have a peculiar case, where my sed command is working on a file which contains lines of small length. sed "s/XYZ:1/XYZ:3/g" abc.txt > xyz.txt when abc.txt contains lines of small length(currently around 80 chars) , this sed command is working fine. when abc.txt contains lines of... (3 Replies)
Discussion started by: thanuman
3 Replies

9. Shell Programming and Scripting

creating a fixed length output from a variable length input

Is there a command that sets a variable length? I have a input of a variable length field but my output for that field needs to be set to 32 char. Is there such a command? I am on a sun box running ksh Thanks (2 Replies)
Discussion started by: r1500
2 Replies

10. UNIX for Advanced & Expert Users

Enforcing password change

Hi I am using SUN_Unix and HPUX. We have a discussion of how to force people to change their passwords every 90 days I suppose. I have seen the case where I log on to a system, which I have my password change with in the last 90 days, the system would prompt me to change the password... (3 Replies)
Discussion started by: vtran4270
3 Replies
Login or Register to Ask a Question