-
Root login problems (HD Install)
Hello
I am new to Linux and must confess I don't know an awful lot about it-but I am trying to learn.
I installed Knoppix on my HD (dual boot - XP). I managed to install it without to much difficulty but when it comes to the login page I am prompted for a login name and password for Knoppix user and Root user. When I type in the names I set up for Root, it keeps on telling me the name and/or password is wrong. I can only log in as a knoppix user which doesn't allow me to do very much.
I am not very familiar with linux tools so need a step by step guide on how to alter this (if I can).
Help please
Thank you in advance.
-
Junior Member
registered user
Hmm...
The name of the root-user is "root" so you can't give it any other name. Try typing "root" (in lower case) as the username and then use the password you specified during install. Or click root in the list on the left and type only the password if you'are using the kdm login manager. Also remember that linux is case-sensitive so you need to type the password and usernames exactly the same way as during the install.
If you for some reason can't remember the root password you probably will need to do a reinstall.
-
Junior Member
registered user
I had the same trouble with the hard drive install. Here are the steps that I did:
1. I booted the Knoppix CD
2. I mounted the partition where Linux was installed during the knx-hdinstall as read-write (right click on the disk icon, select Properties, then Device, and de-select "Read only")
3. I located the /etc/shadow file on the partition (be sure that it is the one on the hard drive, not the CD)
4. I opened up a root terminal (under the K menu>KNOPPIX)
5. I typed "kedit /mnt/hdax/etc/shadow" (where x is the hard drive partition)
6. The first line was root. I deleted everything between the first two colons (":"). That is the encrypted password.
The line will now be "root::0:99999:7:::"
Logout from the CD and remove it. You can now log into root leaving the password blank. When you are in root, open a terminal and type passwd to change your password.
-
Senior Member
registered user
If you are using LILO to boot Linux then at the LILO prompt do this:
linux single
Then after it boots (into text mode)
passwd
Then just give root a new password.
-
Senior Member
registered user
In addition to the other helpful suggestions already made if you used a password for root longer than 8 characters the password got shortened to only the first 8 characters try just using the first 8 characters when you login if this was the case.
Similar Threads
-
By bsjawle in forum Hdd Install / Debian / Apt
Replies: 15
Last Post: 04-09-2005, 05:02 AM
-
By siri in forum Hdd Install / Debian / Apt
Replies: 7
Last Post: 02-27-2005, 04:59 PM
-
By Jameson in forum General Support
Replies: 2
Last Post: 01-19-2005, 05:27 AM
-
By mienque in forum General Support
Replies: 1
Last Post: 05-29-2004, 06:15 AM
-
By darkstar2002 in forum Hdd Install / Debian / Apt
Replies: 7
Last Post: 05-14-2004, 03:51 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

SK Hynix 1TB PC801 M.2 NVMe PCIe Gen4x4 2280 SSD
$100.00

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$60.00

External SSD 1TB 2TB 4TB Portable Hard Drive USB 3.0 Type-C High Speed PC Mac
$19.99

Dell Latitude 14" Laptop Computer Intel i5 Up To 32GB RAM 1TB SSD Windows 11 Pro
$545.25

Crucial MX500 1TB 2.5" SATA III Internal SSD CT1000MX500SSD1
$99.99

1TB Kingston DataTraveler Max DTMAX/1TB USB Type-C Flash Drive
$86.95

SAMSUNG T7 Portable SSD 1TB Indigo Blue USB 3.2 Gen2 External MU-PC1T0H/AM
$159.99

Acer Predator Helios Neo 16S AI 16" i9 275HX 2S RTX 5070 Ti 32GB 1TB SSD Refurb
$1746.47

Seagate Desktop 1TB/1000GB SATA 3.5" HDD Hard Drive
$29.99

Dell Latitude 14" Laptop Computer Intel i7 Up To 32GB RAM 1TB SSD Windows 11 Pro
$330.73