HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Recover root password
Operating System - Linux
1825678
Members
3689
Online
109686
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
08-23-2003 06:56 AM
08-23-2003 06:56 AM
Recover root password
How can i recover a root password in RedHad when i use lilo as a bootloader.
Thanks
Jagadesh
Thanks
Jagadesh
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2003 07:46 AM
08-23-2003 07:46 AM
Re: Recover root password
Hi,
At Lilo boot sreen type "control x"
then type a tab
then type S after the linux prompt like
Linux S
This should do a minimal boot and leave you in single user mode as user root without asking for a password.
From there type
#passwd
and change to a password you are able to remember more easly
Hope this still is true have not tryed this for a long long time... use grub theses days.
Tell us if it still is true .
Jean-Pierre
At Lilo boot sreen type "control x"
then type a tab
then type S after the linux prompt like
Linux S
This should do a minimal boot and leave you in single user mode as user root without asking for a password.
From there type
#passwd
and change to a password you are able to remember more easly
Hope this still is true have not tryed this for a long long time... use grub theses days.
Tell us if it still is true .
Jean-Pierre
Smile I will feel the difference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2003 08:31 AM
08-23-2003 08:31 AM
Re: Recover root password
Hi,
I remember I had a laptop that still had lilo RedHat linux 8.0 So I gave it a try It still works and go like this
at lilo boot image type "Control x"
you are then put at a screen prompt
boot:
there type
linux S
this will get you in single user mode as root
at the # type
#passwd
answer questions about new password and retype
when finish at # prompt enter "^d"
this will continue the boot sequence to the level you have defined in /etc/inittab as your default usualy level 3 or 5
Hope this more complete scenario helps you out.
In fact you can modify this behaviour in lilo.conf best is to read man page for lilo.conf.
Jean-Pierre
I remember I had a laptop that still had lilo RedHat linux 8.0 So I gave it a try It still works and go like this
at lilo boot image type "Control x"
you are then put at a screen prompt
boot:
there type
linux S
this will get you in single user mode as root
at the # type
#passwd
answer questions about new password and retype
when finish at # prompt enter "^d"
this will continue the boot sequence to the level you have defined in /etc/inittab as your default usualy level 3 or 5
Hope this more complete scenario helps you out.
In fact you can modify this behaviour in lilo.conf best is to read man page for lilo.conf.
Jean-Pierre
Smile I will feel the difference
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP