- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can't log in on a 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
02-17-2004 01:28 AM
02-17-2004 01:28 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2004 01:33 AM
02-17-2004 01:33 AM
SolutionYou would need to unlock the root's account.
#mount /usr
#/usr/lbin/modprpw -k root
Your /sbin/passwd -f should work.
If not, then edit /tcb/files/auth/r/root and nullify the strings next to u_pwd=. Then try changing the password.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2004 01:34 AM
02-17-2004 01:34 AM
Re: Can't log in on a trusted system
Try
/usr/lbin/modprpw -k root
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2004 01:35 AM
02-17-2004 01:35 AM
Re: Can't log in on a trusted system
You can boot of the CD and and mount the root-FS of the disk in.
Then empty the root-pw or paste your known pwd in in the /tcb/files/auth/r/root file
When rebooting you will be able to login again.
Regs David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2004 01:35 AM
02-17-2004 01:35 AM
Re: Can't log in on a trusted system
When you convert to trusted mode all accounts will be expired. You can avoid that using following command.
/usr/lbin/modprpw -V
You can unlock all accounts with following command.
/usr/lbin/modprpw -k "account_name"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2004 01:39 AM
02-17-2004 01:39 AM
Re: Can't log in on a trusted system
I don't know if I correctly understood your message. Did you mean you were not able to get into single user mode?.
This happens when enabled "Require Login upon Boot to Single User mode" while converting the system to trusted.
In this case either you have to boot the system through CD and manipulate the tcb files or move the disk to another system, import it and mount the root filesystem (not recommended).
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2004 01:45 AM
02-17-2004 01:45 AM
Re: Can't log in on a trusted system
Sri has the proper answer.
When you boot single-user, nothing's mounted except / & /stand - so you either have to run /sbin/passwd or mount /usr.
And if the account is disabled then
/usr/lbin/modprpw -k root
will reenable it - but again, you'd have to mount /usr.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2004 01:48 AM
02-17-2004 01:48 AM
Re: Can't log in on a trusted system
In that case you need to null out the passwords, at least for root.
Here is how:
In single user mode
cd /tcb/files/auth/r
vi root
There is a line named u_pwd
remove everything between the equal sign and : (colon)
Save the file.
Root now has no password.
Boot the box and set a password.
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
02-17-2004 01:50 AM
02-17-2004 01:50 AM
Re: Can't log in on a trusted system
Add some other admin users as sudoers to have root privileges access to modprpw command. So, when an account gets disabled including root, you can use these sudo accounts to enable them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2004 01:55 AM
02-17-2004 01:55 AM
Re: Can't log in on a trusted system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2004 01:59 AM
02-17-2004 01:59 AM
Re: Can't log in on a trusted system
No point booting from the CD if you think that the filesystem is corrupted. I wonder if /usr is really getting mounted. Try this while you are in single user mode.
#grep usr /etc/fstab
Note the corresponding device file say /dev/vg00/lvol5
#mount /dev/vg00/lvol5 /usr
If it says corrupted, then you would need to do fsck. If fsck didn't fix it, then it is really corrupted.
As I said before and mentioned by others, you can manually remove the root's password by editing /tcb/files/auth/r/root file.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2004 02:27 AM
02-17-2004 02:27 AM
Re: Can't log in on a trusted system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2004 02:28 AM
02-17-2004 02:28 AM
Re: Can't log in on a trusted system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2004 03:01 AM
02-17-2004 03:01 AM
Re: Can't log in on a trusted system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2004 03:05 AM
02-17-2004 03:05 AM
Re: Can't log in on a trusted system
Also are you using any special chars in password? Specially such as @. then exclude that, create new password and try.