- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Change root password on trusted system
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
10-04-2005 06:12 AM
10-04-2005 06:12 AM
What is the normal way to change roots password on a trusted system?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2005 06:14 AM
10-04-2005 06:14 AM
Solutionis there any problem with this method ?
you need to provide the old password af course but as root user, you should know it already.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2005 06:16 AM
10-04-2005 06:16 AM
Re: Change root password on trusted system
Just su or sudo to root & run the passwd command as normal.
Always a good idea to have 2 windows open just in case you typo it or something bad occurs. Then you could just blank out the PW field in the tcb entry if necessary with the other window.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2005 06:16 AM
10-04-2005 06:16 AM
Re: Change root password on trusted system
If the root account has been locked out, you can login at the console and unlock the account there and change the password if you need. Even on a trusted system, the root account is always allowed to login at the console.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2005 06:17 AM
10-04-2005 06:17 AM
Re: Change root password on trusted system
It is the same as an untrusted system.
log on to the system as root and enter the command
passwd root
You will have to enter the old password before the system will alow you to change it.
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2005 06:20 AM
10-04-2005 06:20 AM
Re: Change root password on trusted system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2005 06:21 AM
10-04-2005 06:21 AM
Re: Change root password on trusted system
then
cat /tcb/files/auth/t/tempuser
copy the encrypted password
then use your favorite editor (a.k.a. vi) to edit
cat /tcb/files/auth/r/root
delete the encrypted password field and paste the string copied from the tempuser.
save and exit
run command
pwconv
to update the database.
your root password should be the password of the tempuser. Now go ahead and remove the tempuser
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2005 07:25 PM
10-04-2005 07:25 PM
Re: Change root password on trusted system
# passwd root
Enter new password:
Enter it again:
Password change is now scheduled.
Skipping change of user: root/mail: User doesn't exist.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2005 07:44 PM
10-04-2005 07:44 PM
Re: Change root password on trusted system
Similar thread with lots of solution.
# /usr/lbin/modprpw -l -k root
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2005 07:48 PM
10-04-2005 07:48 PM
Re: Change root password on trusted system
Password change is now scheduled.
Skipping change of user: root/mail: User doesn't exist.
>>
saying that /tcp database for root may be corrupted. Just do as,
# remove encrypted passwd in /tcb/files/auth/r/root
then run
# passwd
now change it
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2005 08:33 PM
10-04-2005 08:33 PM
Re: Change root password on trusted system
# /usr/lbin/modprpw -l -k root
/usr/lbin/modprpw: illegal option -- l
Muthukumar:
I have removed the enqypted passwd for root and when i do:
# passwd
Syntax: /usr/bin/passwd
# passwd root
# passwd root
Changing password for user root
Enter new password:
Enter it again:
Password change is now scheduled.
Skipping change of user: root/mail: User doesn't exist.
So that did not help... anyone have another sollution?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2005 08:36 PM
10-04-2005 08:36 PM
Re: Change root password on trusted system
/usr/lbin/getprpw -m lockout root
This should show 000000, if everything is ok.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2005 08:42 PM
10-04-2005 08:42 PM
Re: Change root password on trusted system
I dont have 10.20 to check now .. Sorry.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2005 08:49 PM
10-04-2005 08:49 PM
Re: Change root password on trusted system
can you check as,
# which passwd
# ls -l `which passwd`
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2005 10:28 PM
10-04-2005 10:28 PM
Re: Change root password on trusted system
I found that the original passwd binary was moved to passwd.org and when i used it all worked. TNX to all ... Hope you like the points.