Solved

root password

Posted on 2000-04-19
6
249 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
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…
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.:
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.

896 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

13 Experts available now in Live!

Get 1:1 Help Now