Operating System - HP-UX
1753758 Members
4758 Online
108799 Solutions
New Discussion юеВ

Re: Need to change passwd.

 
SOLVED
Go to solution
Deepak Kr
Respected Contributor
Solution

Re: Need to change passwd.

Hi Ram,

long discussion is already goin on here..

>>>
Need to know more information,
1.How to see the passwd of one user?
2.passwd -r file user1 (what does mean file)
3.Is any other command there to change the passwd?

>>>>

see urs is not a trusted system so commands like modprpw will not be helpful for you.

It is not possible for root to see password of any user. Only user can tell who actually set it...

If you really want to reset the password for a user then easy way is to use SAM.

Go to user and group management and select user name and choose reset password from action menu...

Another one is from command line:

## passwd
new password: *****
confirm password:*****

thats it!!


For your another query:::

what is passwd -r file user1 ???

refer to man passwd for complete details!!

I hope this will answer all your queries!!


Deepak

"There is always some scope for improvement"
Deepak Kr
Respected Contributor

Re: Need to change passwd.

See man page:

http://unixhelp.ed.ac.uk/CGI/man-cgi?passwd+1

-r, --repository REPOSITORY
change password in REPOSITORY repository

"There is always some scope for improvement"
mrk_1
Frequent Advisor

Re: Need to change passwd.

Thank you kumar deepak. you have cleared my doubts.
Thank you all to spend valuable time for answering my queries.