1834903 Members
2801 Online
110071 Solutions
New Discussion

Re: reset user password

 
SOLVED
Go to solution
Adam Strobel
Frequent Advisor

reset user password

I"m new to HPUX can someone tell me how to reset a users password?

thanks,
10 REPLIES 10
Pete Randall
Outstanding Contributor
Solution

Re: reset user password

man passwd


Pete

Pete
Alan Meyer_4
Respected Contributor

Re: reset user password

log in as root and enter the command passwd username.

You will then be prompted to enter a new password and then to confirm it...
" I may not be certified, but I am certifiable... "
Adam Strobel
Frequent Advisor

Re: reset user password

Thanks everyone!!

--ADam
Mel Burslan
Honored Contributor

Re: reset user password

and if your system is trusted and the user got locked out, make sure you unlock the userid.

/usr/lbin/getprpw -l -r -m lockout username_here

if output is 0000000 (seven zeros) the user is not locked out. If you see a one in any location, means user is locked and nedds to be unlocked by :

/usr/lbin/modprpw -l -m alock=NO username_here

also it is best to reset the icorrect login count by

/usr/lbin/modprpw -k username_here

________________________________
UNIX because I majored in cryptology...
Mahesh Kumar Malik
Honored Contributor

Re: reset user password

Hi Adma

Login as root and then passwd username ( as created in hp-ux) will change user password

Regards
Mahesh
Cem Tugrul
Esteemed Contributor

Re: reset user password

Hi Adam,

login as root and then;
passwd username

if your user locked then follow as Mel's description also i often use;
/usr/lbin/./modprpw -k username

Good Luck,
Our greatest duty in this life is to help others. And please, if you can't
Gavin Clarke
Trusted Contributor

Re: reset user password

Let us not forget SAM, there's all sorts of things you can do with SAM if you want a nice easy (well easy-ish) gui to help you do it.
Manoj_36
Advisor

Re: reset user password

Hi,
You can change the user passwd using sam or if you want to do it through command prompt you can use 'passwd' command. If you are not a root user and you have authority to change your passwd you can simply give passwd command to change your passwd, it asks your old passwd and if you are root then if you give passwd it will simply allow you to give the new password.

Regards
Adam Strobel
Frequent Advisor

Re: reset user password

Thanks everyone! I got the password reset.

--Adam
Cem Tugrul
Esteemed Contributor

Re: reset user password

Hi Adam,
if you got the solution from replies then
would be nice submit points!!!
:-))

Good Luck,
Our greatest duty in this life is to help others. And please, if you can't