- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Reset Users Password
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 07:32 AM
01-30-2006 07:32 AM
I have the Root access to a HP-UX server. I am not a system admin but I have been assigned the task of reseting a user's password.
Can anyone please tell me how do i accomplish that.
Thanks,
Anand
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 07:38 AM
01-30-2006 07:38 AM
SolutionIf is not a trusted system
type
passwd userID
and change the password
If it s trusted system
type /usr/lbin/modprpw -k userID
to reset a current password (account locked)
or
if you want to just change the password
passwd usrID
Or, you can use sam to modify/change passwords
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 07:41 AM
01-30-2006 07:41 AM
Re: Reset Users Password
or
sam -> users account -> highight user id -> actions -> modify passwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 08:11 AM
01-30-2006 08:11 AM
Re: Reset Users Password
/usr/lbin/usermod -x userid
Saves you having to be creative to think up a password for them. :)
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 08:17 AM
01-30-2006 08:17 AM
Re: Reset Users Password
BTW... the other advantage to using /usr/lbin/modprpw -x is that it expires the password immediately so the user is forced to change it when they login.
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 03:38 PM
01-30-2006 03:38 PM
Re: Reset Users Password
Dear Anand,
#passwd
But If you dont want to SET the user password you may force the user to CHANGE the password during next login, TRY
#passwd -f
With Regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 03:44 PM
01-30-2006 03:44 PM
Re: Reset Users Password
passwd
sam -> users account -> highight user id -> actions -> modify passwd
change password.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 04:10 PM
01-30-2006 04:10 PM
Re: Reset Users Password
It will ask for new passwd and confirm passwd. That is it.
Example:
# passwd muthu
Changing password for muthu
New password:
Re-enter new password:
Passwd successfully changed
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 04:14 PM
01-30-2006 04:14 PM
Re: Reset Users Password
If this is not a Trusted system, you can do it in two ways,
1) # passwd
2) # sam --> Accounts for Users and Groups -->Users
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 04:55 PM
01-30-2006 04:55 PM
Re: Reset Users Password
passwd
or
sam -> users account ->user id -> actions -> modify passwd
HTH,
Prabu.S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 05:02 PM
01-30-2006 05:02 PM
Re: Reset Users Password
You can use passwd
# passwd anand
It will ask you for the current & then new password.
You can also use sam for doing the same.
Regards,
Shameer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2006 07:30 AM
01-31-2006 07:30 AM
Re: Reset Users Password
Thank you for your assistance.
Can anyone please tell me any book or website where I can get information on HP-UNIX system administration.
It will be of great help.
Thanks,
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2006 07:56 AM
01-31-2006 07:56 AM
Re: Reset Users Password
docs.hp.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2006 08:08 AM
01-31-2006 08:08 AM
Re: Reset Users Password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2006 01:37 PM
01-31-2006 01:37 PM
Re: Reset Users Password
If you can give me your mail id, I will send you the pdf docs I have.
Regards,
Shameer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2006 07:59 PM
01-31-2006 07:59 PM
Re: Reset Users Password
http://www.docs.hp.com/en/oshpux11.0.html
http://www.docs.hp.com/en/oshpux11i.html
http://www.docs.hp.com/en/oshpux11iv2.html
http://www.docs.hp.com/en/hw.html
Good Luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2006 08:12 AM
02-01-2006 08:12 AM
Re: Reset Users Password
My email ID is s_anandbalaji@yahoo.com.
Please send me the PDF docs that you have.
Thanks,
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2006 07:46 PM
02-01-2006 07:46 PM
Re: Reset Users Password
I have sent the docs to your id.
Hope it helps you.
Regards,
Shameer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2006 07:55 PM
02-01-2006 07:55 PM
Re: Reset Users Password
You can get or view html or pdf files related on hp-ux system from,
1) http://docs.hp.com/
It is better to start with your system using man pages itself.
Documents based on every operating system is listed in docs.hp.com. Download and use it.
PS> Don't give your mail ID in forums. May be a change to get un-needed mails too.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2006 08:20 PM
02-01-2006 08:20 PM
Re: Reset Users Password
Don't you think submit some points before
closing this thread?
:-))
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2006 08:22 PM
02-01-2006 08:22 PM
Re: Reset Users Password
Three resources to gain HP-UX knowledge,
1) ITRC HP-UX Forums
2) docs.hp.com
3) man pages
-Arun