Solved

Cannot enter

Posted on 1997-01-03
1
230 Views
Last Modified: 2013-12-15
I forgot the password of the root,is there any way to change
it again?
0
Comment
Question by:map011099
1 Comment
 
LVL 10

Accepted Solution

by:
rbr earned 200 total points
ID: 1626930
Boot from your installation bootdsk and rootdsk. With this disks you can login as root (without password). Then mount your harddisk. Go into the
/etc directory and edit the file passwd.
In this file you have to find the line

root:xxxxxxxxxxxxxx:0:0:root: ...

Change this into

root::0:0:root: .....

After this reboot your computer without using the 2 disks. You should now be able to login with root without any password.

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

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

831 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