Operating System - HP-UX
1824995 Members
2403 Online
109678 Solutions
New Discussion юеВ

Passwords must differ by at least 3 positions

 
Devesh Pant
Occasional Contributor

Passwords must differ by at least 3 positions

Is there a way to overide the following password change requirementon a Non-trusted 11.i system:
"Passwords must differ by at least 3 positions"

Thanks
Daryl
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: Passwords must differ by at least 3 positions

Here is a file callled /etc/default/security

PASSWORD_HISTORY_DEPTH=7
PASSWORD_MIN_UPPER_CASE_CHARS=1
PASSWORD_MIN_UPPER_CASE_CHARS=1
PASSWORD_MIN_DIGIT_CHARS=1

That's mine.

You can create this file and make changes and your passwrod policies will be enforced.

This document elaborates so you can achieve your goal.

http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/5187-0172/5187-0172_top.html&con=/hpux/onlinedocs/5187-0172/00/01/118-con.html&toc=/hpux/onlinedocs/5187-0172/00/01/118-toc.html&searchterms=/etc/default/security&queryid=20040803-115228

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
Jeff Schussele
Honored Contributor

Re: Passwords must differ by at least 3 positions

Hi Dary,

Nope - sorry you're out of luck on that one if you're a "normal" user.
Do the following & you'll see why

strings /usr/bin/passwd | grep "least 3"

strings /sbin/passwd | grep 3

Only root can run /sbin/passwd where that rule is not hard-coded into the binary.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Darren Prior
Honored Contributor

Re: Passwords must differ by at least 3 positions

Hi Daryl,

This is a security feature, designed to prevent people from changing their password from mypass1 to mypass2, etc. There are no parameters that I'm aware of that can change this behaviour.

regards,

Darren.
Calm down. It's only ones and zeros...
Kent Ostby
Honored Contributor

Re: Passwords must differ by at least 3 positions

switch from all lower case to all upper case password.
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"