?
Solved

Beginner: Unistalling Red Hat Linux

Posted on 2000-04-22
5
Medium Priority
?
230 Views
Last Modified: 2013-12-06
When I installed Red Hat Linux 6.1 I chose my user name/password the same as the root user name/password meaning that I can't seem to get myself into a root user mode when I log in as my username. (The # never comes up as the prompt when I log in). Should I reinstall or is there a way around it?

If I was to uninstall Linux. How would I go about removing it from my system? I also have Windows 98 on my machine... Would LILO also be removed?
0
Comment
Question by:boomerang061797
[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
5 Comments
 
LVL 1

Accepted Solution

by:
zx9r earned 200 total points
ID: 2740521
the user name of root is... root

so, you canno´t chose any user name for root because root is the user name.

to login, try typing root as user name and password the one you choose


you also can login with the other username/password you give up in the instalation
0
 
LVL 3

Expert Comment

by:freesource
ID: 2740756
I'd just boot up the RedHat cdrom, and go to one of the virtual consoles.

[Alt] [F2] or Alt F3 or so on.  

From the command line:

mkdir mnt

You need to know which partition you installed linux on, if you don't know use fdisk to find out. Here the partion is /dev/hda2.

mount -t ext2 /dev/hda2 mnt
cd ./mnt/etc
vi passwd or vi shadow (more likely)
edit the line.  You may have to use a different editor, I am not sure what is on the RedHat Cdrom.

root:garbage:

to

root::

Now you can login as root without a password.


There is a vi faq out there is you don't know how to use vi.
0
 

Expert Comment

by:smile040800
ID: 2740981
hi,
All you have to edit is /etc/shadow file. Use linux 1 at lilo prompt to get into maintenance mode. This will get you into single user mode and with super user ability. The first line of this file is real root user
root:asw34:: xxxx
In the same file there will be another root. Just delete that line in the file. This should hopefully rectify the problem.

About removing linux. If you have win9x just use win9x fdisk to delete the linux partitions, and to restore the partitions and then format using win9x format to get a fat16/32 partition
0
 

Expert Comment

by:smile040800
ID: 2740982
Also - to remove lilo you have to do fdisk /MBR in win9x
0
 

Author Comment

by:boomerang061797
ID: 2741454
Great! Works fine now...
0

Featured Post

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

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

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
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…
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.
Suggested Courses
Course of the Month13 days, 16 hours left to enroll

801 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