Operating System - HP-UX
1827387 Members
4499 Online
109963 Solutions
New Discussion

Re: password restriction rules wont turn off

 
SOLVED
Go to solution
Paul Sperry
Honored Contributor

password restriction rules wont turn off

trusted 11.11 system.

In sam
Auditing and security
System Security Policies
password format policies
Use Restriction Rules (is unchecked)

In sam
Accounts for Users and Groups
Users
Highlighted desired user
actions
Modify users security policies
Password Format Policies
Enable Restriction Rules is set to NO

Yet when I try to change the users password
I get the following message:

Password must contain at least two alphabetic characters and
at least one numeric or special character.

I need the users password to be all characters.
Will I don't but the programmer wants it that way.

Not sure what Iam missing here, Thanks in advance.


6 REPLIES 6
Sridhar Bhaskarla
Honored Contributor

Re: password restriction rules wont turn off

Hi,

I believe it may be a patch issue. Look at the patch description of PHCO_26089. Install it and see if it helps. Basically it provides more options for /etc/default/security file in terms of password requirements.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Uday_S_Ankolekar
Honored Contributor

Re: password restriction rules wont turn off

Try changing password from sam it self it may put all alphabetic password!.

But for a trusted server all alphabetic password is not allowed.
see man passwd

-USA..
Good Luck..
Rajeev  Shukla
Honored Contributor
Solution

Re: password restriction rules wont turn off

Hi Paul,
This is the way trusted system works. You need to have a alphanumeric password.
BUT THIS CAN BE OVERRULLED BY
using /sbin/passwd to change the password instead of /usr/bin/passwd

Try using /sbin/passwd you can keep only alphabets as password. It works


Cheers
Rajeev
James R. Ferguson
Acclaimed Contributor

Re: password restriction rules wont turn off

Hi Paul:

Use:

# passwd

...as the root user to set/choose any password you want. Otherwise, as documented in the man pages for 'passwd(1)' "...A password must contain at least two letters and at least one numeric or special character."

Regards!

...JRF...
Rajeev  Shukla
Honored Contributor

Re: password restriction rules wont turn off

Hi JRF,
But you know you can have passwords as only characters only if you use /sbin/passwd instead of /usr/bin/passwd which is invoked by default when you use passwd .

You can even have password of 2 characters with /sbin/passwd where as you can not with /usr/bin/passwd.

Rajeev
Paul Sperry
Honored Contributor

Re: password restriction rules wont turn off

Thanks guys! /sbin/passwd did the trick :)