Computing.Net > Forums > Unix > minimum password length

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

minimum password length

Reply to Message Icon

Name: novicet
Date: November 23, 2004 at 13:13:17 Pacific
OS: Unix
CPU/Ram: 256
Comment:

Hi all,

What is the best way to enforce password of minimum of 8 characters?

I could do that with smit, where it does have an option of setting the length, but we have over one hundred user account, I think it is a bit time consuming.

Does anyone have any suggestion? anyone?

Thanksssssssss!

novicet




Sponsored Link
Ads by Google

Response Number 1
Name: thepubba
Date: November 23, 2004 at 16:29:08 Pacific
Reply:

You don't have to do it for each user. Try looking at the /etc/security/user file. You can change the default stanza "minlen" to 8 characters which will enforce the change at the next password change. I can't test it, but I believe the command is:

chsec -f /etc/security/user -s default -a minlen=8


0

Response Number 2
Name: novicet
Date: November 24, 2004 at 06:01:16 Pacific
Reply:

Jerry,

It works, THANKs!


0
Reply to Message Icon

Related Posts

See More


weeknumber out of given d... Need Help-Unix



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: minimum password length

Unix Password changes www.computing.net/answers/unix/unix-password-changes-/2172.html

hiding password www.computing.net/answers/unix/hiding-password/1687.html

HP UNIX PASSWORD www.computing.net/answers/unix/hp-unix-password-/3190.html