- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Changing rootB4s 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
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
07-07-2002 05:57 AM
07-07-2002 05:57 AM
Changing rootB4s password
I converted my system on trusted. I lost root??s password and trusted deactive my account, when I tried execute manually /usr/lbin/modprpw -k root, nothing happend. Then I tried reset root??s passwd and following message its displayed for me.
An invalid command syntax was used to invoke the command
"/usr/lbin/modprpw". Failed to update protected password database
for user "root".
Thanks for helps,
Valkiria
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2002 06:54 AM
07-07-2002 06:54 AM
Re: Changing rootB4s password
also check if getprdef is working. It will list all options set.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2002 10:32 AM
07-07-2002 10:32 AM
Re: Changing rootB4s password
Valkiria
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2002 02:00 PM
07-07-2002 02:00 PM
Re: Changing rootB4s password
BEWARE though.
If you do this from the command line, using the following commands:
/etc/tsconvert -r (I think)
then /etc/tsconvert -c
this will expire all other passwords on the system.
I found out the hard way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2002 06:10 PM
07-07-2002 06:10 PM
Re: Changing rootB4s password
I guess that because of before change to trusted system , root password was longer than 8 characters.
OK,
Before try Scott's suggestion.
if you have console , login root at the console. if you can ,just make change to root password to < than 8 characters.
If you cannot login root at console , you may need to proceed with Scott's suggestion.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2002 10:04 AM
07-08-2002 10:04 AM
Re: Changing rootB4s password
* Boot to single user mode
* Issue: mount -a
* Make a backup copy of /tcb/files/auth/r/root
* Edit /tcb/files/auth/r/root
* Remove the encrypted password from the u_pwd= entry. The encrypted password is everything between the = and the final :\ on the line that begins :u_pwd=
* Save and close
* Reset root's passwd: passwd root
As a variation on that you could also replace root's password with the encrypted password from another user where you know the password.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2002 10:15 AM
07-08-2002 10:15 AM
Re: Changing rootB4s password
You are assuming Valkiria has some form of root access to modify /tcb/files/auth/r/root file.
I usually set up a pseudo root account (different username and password, but UID=0) to use when the root account becomes disabled for whatever reason. This has saved me many hours of frustration, especially with a production system that can't be brought down during the day.
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2002 02:56 AM
07-15-2002 02:56 AM
Re: Changing rootB4s password
- login on the (web)console. According to the "trusted"manual this is always possible.
- vi /tcb/files/auth/r/root
- go to the line with u_pwd
- remove anything between = and :- exit
- login from another terminal
- you have to change your passwd immediately.
Hope this helps
Donald