Operating System - HP-UX
1844850 Members
2557 Online
110233 Solutions
New Discussion

Regarding the Password Reset

 
Tvs
Regular Advisor

Regarding the Password Reset

Hi all,


when Iam trying to resetting my password , the system is giving an error message like iam trying to reset the password with old password.is it possbile to override this setting

thanks in advance
7 REPLIES 7
Robert-Jan Goossens_1
Honored Contributor

Re: Regarding the Password Reset

Hi TVS,

Is NIS involved ?

Robert-Jan
Yogeeraj_1
Honored Contributor

Re: Regarding the Password Reset

hi,


see man passwd for more info.

can you try using the root user and do something like:

#passwd

hope this helps!
regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Pedro Cirne
Esteemed Contributor

Re: Regarding the Password Reset

Hi,

If you have NIS in place and you don't know the "old" password, the only option I know to reset the password is to delete the user, update NIS, create the user again, set password, and replicate NIS....

Enjoy :)

Pedro
Tvs
Regular Advisor

Re: Regarding the Password Reset

hai,

No Nis, and root also unable to reset the password to the same
Pedro Cirne
Esteemed Contributor

Re: Regarding the Password Reset

Hi,

Please post here the commands/output:

Login as root:

#passwd

Is this a trusted system?

Pedro
Robert-Jan Goossens_1
Honored Contributor

Re: Regarding the Password Reset

run pwck
# pwck

# awk -F: '{print $1 " " $3 " " $4 " " $5}' /etc/passwd | sort

and check for duplicates usernames and userid's.

# file /usr/bin/passwd
# file /sbin/passwd

Try with the /sbin/passwd to change the password.

Robert-Jan
Tvs
Regular Advisor

Re: Regarding the Password Reset

problem got solved