Solved

root password

Posted on 2000-04-19
6
246 Views
Last Modified: 2010-04-20
Hello I have forgotten my root password (all my standard passwords dont work).  I need my password so i can shutdown using
  su -c "/sbin/shutdown -r now"
because all the standard shutdown procedures do not work.  Could someone help me figure out how to get the root password (or shutdown)?  Thanks
0
Comment
Question by:rlivings
6 Comments
 
LVL 1

Expert Comment

by:bcoleman
Comment Utility
CTRL+ALT+DELETE will shutdown the system correctly at least it does it on my system.  But then your problem will be the root password again.  You can then use your boot disk and setup a new root password.
0
 
LVL 1

Expert Comment

by:zx9r
Comment Utility
you can reboot your system with CTRL-ALT-DEL and then at the lilo prompt write linux single

This lets you enter in the system with root privileges without enter any password. Once you are in, type passwd to set the new password
0
 

Author Comment

by:rlivings
Comment Utility
I am getting the comment
    bash: linux: command not found
when i try linux single,  come to think of it i also get that comment when i use the standard shutdown

0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 1

Accepted Solution

by:
zx9r earned 50 total points
Comment Utility
you have to write linux single at the LILO prompt, not at the bash prompt.
dont´t worry to reboot with Ctrl-Alt-Del so it closes the system correctly
0
 

Author Comment

by:rlivings
Comment Utility
heh, sorry im kind of new at this.  Is the LILO prompt the place that says
     boot:
where I type linux 5 or linux 3 to go to bash prompt or Xwindows
0
 
LVL 1

Expert Comment

by:andrewljohn70
Comment Utility
Hi rlivings,
Yes, you are right
you will see

boot:
on your screen

boot: linux single

should be the command you type and then press enter button to boot to single user maintenance mode.
All the best :))
-ANdrew
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now