Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2003
    College Park, MD

    knoppix hdinstall password

    i installed knoppix 3.3 to my harddrive using knoppix-installer. it asked for my password for the root account and i told it to set it to rootpass. now when i try and install an rpm and it asks for the root password when i type that in it says that there has been an "authentication error" why wasnt the password set to what i told it to?

  2. #2
    JAPH Senior Christoph's Avatar
    Join Date
    Oct 2001
    Redmond, WA
    First of all, Knoppix is based on Debian, so you don't need to install most software via RPM. Debian's package management system is called apt-get and it's much easier to use than RPM. If you're not familiar with apt-get, it takes about a minute to explain.
    Second, the password problem is easy to fix. Just boot from the Knoppix CD into runlevel 2 (type knoppix 2 at the boot prompt). Mount the partition where /etc is. Then edit /etc/passwd on that partition, deleting the "x" between two colons after "root" (probably the first line).
    This will make your system monumentally insecure, but it will allow you to log in as root without a password. When you're done, reboot, log in as root and change the password with passwd.

    Edit: You should also have a better root password. You may not be concerned about security now, but picking good passwords is an important habit to form. What I do is memorize a string of memorable gibberish and append a memorable word or pseudo-word to it depending on what the password is used for.
    Whatever you do, don't post your root password on a forum like this. If someone were able to find your IP address, Bad Things would happen.
    Last edited by Christoph; 11-08-03 at 07:37 PM.
    FoldSig | Heatware | Alt OS FAQWiki | JAPH | ADO

    "Coming onto the forums after you've had a concussion is prolly not a good idea, but I'm doin' it anyways!"

  3. #3
    Captain Random
    Senior Evil Genius

    Arkaine23's Avatar
    10 Year Badge
    Join Date
    Nov 2001
    Woodlands, Tx
    Folding Profile Heatware Profile
    Yeah, apt-get is easy to use for installing thinsg. Just search for debian's official site and list of packages with googel and you can scope out what's available. Knoppix is a stable version, though it has a few unstable or testing packages installed too. There are some advanced commands for dpkg and apt that let you search for the names of packages you want without having to visit the site.

    If you need to install an rpm, you will probably have to use the alien command. But apt-get always makes things easy to add/remove/upgrade, so use it.!
    i5 3570 @ 4.5 | 8GB | SSD | 5-disk Raid 0 | 660 Ti
    Folding User Stats

  4. #4
    Registered sensai's Avatar
    Join Date
    Nov 2003
    try this:::
    mkdir /mnt/myroot
    mount /dev/hda4 /mnt/myroot
    mount -t proc /proc mnt/myroot/proc
    chroot /mnt/myroot /bin/bash
    {enter your desired password}
    umount /mnt/myroot/proc
    umount /mnt/myroot

    dont forget your password
    also a common mistake ive done is had cap locks on while typing my root pasword
    check the cap lock first

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts