Solved

root password

Posted on 2000-04-19
6
255 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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Coding C# in Linux 8 133
VMware Tools Install On Linux Problem 3 85
linux SFTP 8 63
How does PHP Storm display on Linux high resolution laptops? 1 39
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…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

828 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