Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

root password

Posted on 2000-04-19
6
Medium Priority
?
261 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 1

Accepted Solution

by:
zx9r earned 150 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

Use Filtering Commands to Process Files in Linux

Learn how to manipulate data with the help of various filtering commands such as `cat`, `fmt`, `pr`, and others in Linux.

Question has a verified solution.

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

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
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.
Suggested Courses

705 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