- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: how to recover admin password for console.
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
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
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-23-2008 01:30 AM
тАО02-23-2008 01:30 AM
Thanks in advance...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2008 09:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2008 01:27 AM
тАО02-24-2008 01:27 AM
Re: how to recover admin password for console.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2008 05:32 AM
тАО02-24-2008 05:32 AM
Re: how to recover admin password for console.
No admin user in Unix/Linux. Its called root.
boot the system with power switch into single user mode. Then passwd command.
The procedure for booting into single user mode varies from distribution to distribution.
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-24-2008 07:00 AM
тАО02-24-2008 07:00 AM
Re: how to recover admin password for console.
By the way, another method is to boot a rescue system, mount "/" on some directory (like "/mnt"), do a "chroot /mnt", "passwd" to change the root's password, "logout" and "unmount /mnt". After a reboot, the root user can login with the new password.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2008 04:44 AM
тАО02-26-2008 04:44 AM
Re: how to recover admin password for console.
AFAIK only SuSE continues the stupidity of requiring the root password in single user mode, but then I'm not one to try the distro flavor of the week. If you have console access to _get_ into single user mode, you've compromised the system. Forcing the root pw is just more of an inconvenience than a real security "feature".
If you want to get real complex you can use one of several utilities to generate a new password hash, then boot with any of several "live" distros, mount /, and re-write /etc/shadow.... Never tried it myself as that's clearly a way to really mess a system that requires a pw in any init level. Obviously it would behoove one to copy the file before making any such edit....