Unix/Linux Go Back    

HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

HP-UX Password reset


Closed Linux or Unix Question    
Thread Tools Search this Thread Display Modes
Old Unix and Linux 05-07-2012
sai_2507 sai_2507 is offline
Registered User
Join Date: Apr 2012
Last Activity: 19 December 2013, 10:47 PM EST
Posts: 73
Thanks: 18
Thanked 1 Time in 1 Post
HP-UX Password reset

Hi Experts,

Recently requirement came from one of the users to reset the password of his account becuase password was expired.

However, what he wanted from me is to reset it to same password (old password which he was using previously to login) becuase if password changes he needs to restart some application services which he didn't want to do at that point of time.

Being a normal user, he cannot reset the passsword to the same password becuase system was not allowing it.

My question here is

Which paramters in password protected database I need to change so that user can continue login using the same password?

---------- Post updated at 11:47 PM ---------- Previous update was at 11:45 PM ----------

To Add more information,

account was not locked at that time,only password was expired.

And using passwd command it was not allowing to change the password to same as previous one.. Linux
Sponsored Links
Old Unix and Linux 05-07-2012
joeyg's Unix or Linux Image
joeyg joeyg is offline Forum Staff  
Join Date: Dec 2007
Last Activity: 25 January 2016, 2:56 PM EST
Location: Within two miles of a Dunkin donuts.
Posts: 2,378
Thanks: 90
Thanked 169 Times in 155 Posts
Are you the admin?

The question is strange, since if you are the admin then you would have set this condition. Suggest you research security command(s) and password policy.
You may find that your system has a security file present, that would contain this and other settings.

Lastly, password changing policies exist for a reason - and may be part of corporate compliance. Therefore, not necessarily a good thing when you try to run around the policy.
Sponsored Links
Old Unix and Linux 05-07-2012
methyl methyl is offline Forum Advisor  
Join Date: Mar 2008
Last Activity: 5 December 2015, 9:07 PM EST
Posts: 6,402
Thanks: 288
Thanked 676 Times in 645 Posts
If you are an experienced HP-UX unix administrator it is possible to remove the password expiry requirements for a single user on a non-trusted system by editing the passwd file (using the vipw command) and removing the expiry fields (those from and including the comma on in the password field). Always copy /etc/passwd before any edits and leave at least one extra session logged in as root in case of problems. Always run the pwck command after editing the /etc/passwd file .
Old Unix and Linux 05-20-2012
mabdelmageid mabdelmageid is offline
Registered User
Join Date: May 2011
Last Activity: 20 May 2012, 5:13 AM EDT
Location: Cairo, EG
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
I think if you have tried to reset it with the root account, and providing the old password, the system will accept it.
In this case, you can issue the
passwd user
and let him enter the old password (If he is beside you, or you can have a short visit to his office)
Sponsored Links
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Password reset script sudharson Shell Programming and Scripting 1 12-21-2011 05:33 AM
Reset ILO password suresh_krish Hardware 1 10-28-2010 11:37 AM
Password reset steadyonabix UNIX for Advanced & Expert Users 4 10-20-2009 10:48 AM
Password reset not being accepted W.A.C. Forum Support Area for Unregistered Users & Account Problems 3 12-13-2008 02:37 PM
I would like to reset my password matrixmadhan Post Here to Contact Site Administrators and Moderators 5 04-30-2007 11:46 PM

All times are GMT -4. The time now is 06:35 AM.