- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- My system is trust system,and forget the root pas...
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
Discussions
Discussions
Forums
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
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
тАО12-15-2004 11:45 AM
тАО12-15-2004 11:45 AM
My system is trust system,and forget the root password. how to do.
in the single user mode, the system ask to enter old password, how to deal with it.
======================================
passwd root
Old password:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2004 12:29 PM
тАО12-15-2004 12:29 PM
Re: My system is trust system,and forget the root password. how to do.
1) just type 'passwd'
# passwd
2) edit the /tcb/files/auth/r/root file and remove the encrypted password and then do the passwd command again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2004 12:37 PM
тАО12-15-2004 12:37 PM
Re: My system is trust system,and forget the root password. how to do.
#passwd root
Old password:
sorry
#cd etc
#cd files
sorry , not found files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2004 12:42 PM
тАО12-15-2004 12:42 PM
Re: My system is trust system,and forget the root password. how to do.
1) I said
# passwd
Do NOT put root after passwd. Just do 'passwd'.
2) The files are in /tcb/files/auth/r/root
Note that the directory starts with 'tcb' NOT 'etc'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2004 12:57 PM
тАО12-15-2004 12:57 PM
Re: My system is trust system,and forget the root password. how to do.
In trusted system has some disadvantages and I think this is one of them! :) (never tell to another people...just my idea......)
Here are some thread that will solve your trouble:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=267217
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=617980
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=617877
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=425907
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=404746
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=26000
Best and regard,
ChiCong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2004 01:50 PM
тАО12-15-2004 01:50 PM
Re: My system is trust system,and forget the root password. how to do.
===================================
Hi,Wallek
I do as your advices, the following info. display:
Password cannot be changed, Reason: cannot access protected password entry.
I have resolved this problem as Jimkery
Following is the steps(in single user mode):
#mount /usr
#/etc/tsconvert -r
#passwd
New password: xxxxxx
Re-entry new password: xxxxxx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2004 04:47 AM
тАО12-16-2004 04:47 AM
Re: My system is trust system,and forget the root password. how to do.
The problem on doing what you did is that you might have corrupted other user's passwords when unconverting from trusted system to untrusted (that's what you did)
HPUX trusted system only sees the first 8 characters of the password but lets the user enter many more, I can't remember the exact number.
When converting from non trusted (password as many characters long as the limit I said I did not remember) to trusted the passwords are truncated to eight characters but still accepting as many more as you can type after the first correct eight ones (if you don't believe this, give it a try)
So, re-convert immediately your system bac to trusted after changing the root password or the users whose password was longer than 8 chars will not be able to login anymore ebcause non trusted server will read more than 8 chars...
That's why I feel much more comfortable with Patrick's solution of removing the encrypted password entry for root in /tcb/files/auth/r/root...
Cheers,
Javier.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2004 04:53 AM
тАО12-16-2004 04:53 AM
Re: My system is trust system,and forget the root password. how to do.
0 point for this answer.
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2004 08:53 AM
тАО12-16-2004 08:53 AM
Re: My system is trust system,and forget the root password. how to do.
untrusted mode supports 8 character passwords because of crypt() hash
trusted mode supports up to 80 characters because of bigcrypt() hash. The 80 character limit is arbitrary because bigcrypt() has no defined limit as an iterative version of crypt()
So long passwords are truncated to short when converting from trusted to untrusted.
Am I wrong?