Results 1 to 5 of 5

Thread: Root login problems (HD Install)

  1. #1
    Junior Member
    Join Date
    Jul 2003
    Posts
    7

    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.

  2. #2
    Junior Member registered user
    Join Date
    May 2003
    Location
    Finland
    Posts
    16

    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.

  3. #3
    Junior Member registered user
    Join Date
    Jul 2003
    Posts
    12
    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.

  4. #4
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    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.

  5. #5
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    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

  1. Cannot login other than root, pls help
    By bsjawle in forum Hdd Install / Debian / Apt
    Replies: 15
    Last Post: 04-09-2005, 05:02 AM
  2. After HD install root login problems!
    By siri in forum Hdd Install / Debian / Apt
    Replies: 7
    Last Post: 02-27-2005, 04:59 PM
  3. KDE Root Login Problems
    By Jameson in forum General Support
    Replies: 2
    Last Post: 01-19-2005, 05:27 AM
  4. How do root login
    By mienque in forum General Support
    Replies: 1
    Last Post: 05-29-2004, 06:15 AM
  5. hd install 3.4 only root can login into x
    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
  •  


Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray picture

Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray

$39.99



Seagate ST8000DM004 8TB 3.5

Seagate ST8000DM004 8TB 3.5" 6Gb/s 256MB SATA HDD P/N: 2CX188-300 Tested

$149.99



Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5

Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A

$64.00



(ST8000NM0045) SEAGATE ENTERPRISE 8TB 7200RPM 4Kn SATA 6Gb/s 3.5

(ST8000NM0045) SEAGATE ENTERPRISE 8TB 7200RPM 4Kn SATA 6Gb/s 3.5" HARD DRIVE

$199.99



Seagate ST500DM009 BarraCuda 500 GB 3.5

Seagate ST500DM009 BarraCuda 500 GB 3.5" SATA III Desktop Hard Drive

$14.99



HGST Ultrastar 7K4000 3TB 7200RPM SATA III 3.5

HGST Ultrastar 7K4000 3TB 7200RPM SATA III 3.5" Hard Drive HDD HUS724030ALA640

$39.99



Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE picture

Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE

$68.99



HGST HUA723030ALA640 3TB SATA 7200 RPM 3.5 in Enterprise HDD | 0F14044 (100%) picture

HGST HUA723030ALA640 3TB SATA 7200 RPM 3.5 in Enterprise HDD | 0F14044 (100%)

$45.00



DELL 2TB Enterprise HDD (7200RPM, 3.5

DELL 2TB Enterprise HDD (7200RPM, 3.5", SATA III, 128MB Cache) HUS722T2TALA600

$49.95



Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5

Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive

$318.99