Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

max password length

max password length

max password length

We would like to know if there is a way to make AIX manage password longer than 8 characters.
Right now, AIX lets us use passwords longer than 8, but it will only store the 8 first characters.

Does anyone know if this can be done?


RE: max password length

This case was raised few weeks ago and the answer was that up to AIX5.2 you can't exceed 8 character in the password! You can do that only in AIX5.3.

I can't find the previous post! Once i find it i will post it here for your reference.


RE: max password length

I've done a search in the forum, but I've not seen this post.
Our servers have AIX 5.3 TL04, so I suppose it can be done.
There is also a weird thing. We have put in /etc/security/user that passwords must have at least 3 non-alphabetic characters and a min length of 8. In all our servers except one, if you put a password like qwerty123 it lets you, but AIX will only store as password qwerty12 (less than 3 non-alphabetical), but in one server this will fail, it won't let you put a password if it doesn't have the 3 non-alphabetical in the 8 first characters.

RE: max password length

To set the maxnumber of characters for 5.3
chdev -l sys0 -a max_logname=9

As for the min length and the non-alphabetic characterr...do the individual user stanza reflect the difference that you are experiencing?

RE: max password length

Thanks, will try this tomorrow.

RE: max password length

Tried chev -l sys0 -a max_logname=10 and it didn't work, max password length is still 8 (if I put a 10 characters password, it only stores the 8 first).
What this does is to increase the max length of the user's name, not the password length.

Thanks anyway

RE: max password length

logname is lenght of user name not password. Those solutions are bad. I will look into base to find if there is possibility for longer password.


RE: max password length

Thanks a lot, going to give it a glance.

RE: max password length

MoreFreo - please let me know how it went when you will test that - I'm more than interested :)


RE: max password length

Well, I'm going to take a look at it, and I'll try it on a test server, but I don't know when will this be.
Anyway I'll let you know.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close