1834308 Members
2875 Online
110066 Solutions
New Discussion

/etc/default/security

 
Radhe Webster
Occasional Advisor

/etc/default/security

HP-UX 11.23. Converted to trusted system.

I have the following lines in my security file:

# Optional restrictions for new passwords
PASSWORD_MIN_UPPER_CASE_CHARS=0
PASSWORD_MIN_LOWER_CASE_CHARS=0
PASSWORD_MIN_DIGIT_CHARS=0
PASSWORD_MIN_SPECIAL_CHARS=0

However it is still not creating passwords unless a special character is present. Also how do I remove the other options when I run the passwd command so that it doesn't offer to generate passwords, and defaults to pick.

Thanks
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: /etc/default/security

Shalom,

Could be a bug.

Is the July 2006 QPK installed?

You may be able to manipulate the system into changing its default setings with sam, though that should not be needed, you have done exactly what should be done to accomplish your goal.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steven E. Protter
Exalted Contributor

Re: /etc/default/security

Shalom,

Could be a bug.

Is the July 2006 QPK installed?

You may be able to manipulate the system into changing its default setings with sam, though that should not be needed, you have done exactly what should be done to accomplish your goal.

The password generate option is one I was unable to figure out how to disable except with sam. Its a menu option under users and groups.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Robert Fritz
Regular Advisor

Re: /etc/default/security

That does look right, so not sure what's going on. For the generate-passwords thing, you may look at the "usrpick=value" option of modprpw, documented at: http://docs.hp.com/en/B2355-90691/modprpw.1M.html
Those Who Would Sacrifice Liberty for Security Deserve Neither." - Benjamin Franklin