- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Root password in 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
11-20-2003 10:48 PM
11-20-2003 10:48 PM
my system is in trusted mode.
Changing root password by 'passwd root' command I get error
"Unexpected failure. Password file unchanged."
I already tried to delete root password in /tcb/files/auth/r/root and re-tried passwd command but it didn't help.
I tried to unconvert the system, change password of root and convert system in trusted again; I succeeded to change password but I cannot login with new password.
Helps would be appreciated, thanks!
Roberto
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2003 01:32 AM
11-21-2003 01:32 AM
Re: Root password in trusted system
That will unlock the root password, if the /etc/passwd file has not been corrupted.
A console login might unlock the id.
You may need to boot into single user mode to correct this.
Last resort, edit the /tcb/files/auth/r/root file and null out the encrypted password.
This may need to be done in single user mode, but if you have a root session open, you can still do it.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2003 02:14 AM
11-21-2003 02:14 AM
SolutionI think that reasons of the problem are different.
Just a few things that you can try/verify:
1. pwconv command should be executed, from man pwcon:
pwconv - update secure password facility
It is enough to type from command line
# pwconv
2.
# authck -pv
from man of command:
authck - check internal consistency of Authentication database
If you found messages or problems by last two commands you should solve them.
3. You should verify /etc/nsswitch.conf, if it contains
passwd: compat
group: compat
They are in this way if your system uses NIS service; if it is not then just change the word 'compat' to 'files'.
In all the three cases above after the action, you could re-try root password change.
I hope this helps you.
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2003 03:22 AM
11-21-2003 03:22 AM
Re: Root password in trusted system
If your password has more than 8 characters, try logging in with just the first 8 characters. Trusted systems get set to a max of 8 character passwords by default when implemented. You can adjust this limit via SAM in the auditing and security section once logged in.
Hope this helps,
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2003 01:23 PM
11-22-2003 01:23 PM
Re: Root password in trusted system
When you convert from standard to trusted, you get passwords of up to 80 chracters. But there is no way for the conversion process to recreate the characters that were previously thrown away, so only the first 8 characters are initially used. And since anything after the first 8 is now checked, not ignored, this causes some confusion until the first password change by that user after the conversion to trusted mode.
Actual behavior varies slightly from release to release as code was added to try to make this difference less confusing to users. But the bottom line is that you can't create missing characters out of thin air.
You do not need to edit anything with SAM to get trusted mode to accept the longer passwords.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2003 07:42 PM
11-23-2003 07:42 PM
Re: Root password in trusted system
Fantastic forum...
I solved my password problem...
It was the string 'compat' on password and group into /etc/nsswitch.conf file. I changed it to 'files' and I could modify the root password.
Now I can login with the new password.
Roberto.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2003 09:24 PM
11-23-2003 09:24 PM