Solved

root password

Posted on 2000-04-19
6
253 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
ID: 2732777
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
ID: 2732790
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
ID: 2732923
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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
LVL 1

Accepted Solution

by:
zx9r earned 50 total points
ID: 2732968
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
ID: 2732996
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
ID: 2733539
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
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.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

777 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