1820235 Members
2989 Online
109620 Solutions
New Discussion юеВ

Re: Force a password

 
SOLVED
Go to solution

Force a password

Hey all,

Here is the situation. Is there a way to use the same password while using the passwd command in trusted system even if history is set to 10 in security file? For ie. under Windows, the domain admin can reset your password using the same one when it is time for change. But under HP-UX, there is no way, even if I try to change that user password with root account. Let's say my BOSS want to use that same password again, the only way now I found is to remove the password history and put it back after the password is changed. I know that my boss should not do that, hey, he's the boss.
3 REPLIES 3
Sudalaimani
Frequent Advisor

Re: Force a password

Hi,

I guess, the only option is, as sysadmin previlage,

1. #mv /etc/default/security /etc/default/security.old

2. Change the passwd to the same as before.

3. #mv /etc/default/security.old /etc/default/security

thanks

Mani

A Long Journey Starts with Single Foot Step
Steven E. Protter
Exalted Contributor

Re: Force a password

Shalom,

The user can't override this.

The root user can.

You will need to have your BOSS, set his password as root, preferably at his/her workstation.

The fact you can't do this means there is something else wrong.

http://techsolutions.hp.com/en/5991-6482/apas03.html

Toward the bottom of the page tells where the password histories are. You can manually edit them and clear out your bosses password history. Maybe your bosses boss needs to know about this security violation? Just kidding.



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-Jan Goossens
Honored Contributor
Solution

Re: Force a password

Hi St├Г┬йphane,

or....

Change the security settings for his account Password Life Time mintm to xxx days.

/usr/lbin/modprpw -m mintm=xxx user_id

Regards,
Robert-Jan