Notices

Overclockers Forums > Software > Alternative Operating Systems
Alternative Operating Systems Linux, Mac, Unix Operating Systems and Applications
Forum Jump

knoppix hdinstall password

Post Reply New Thread Subscribe Search this Thread
 
 
Thread Tools
Old 11-08-03, 06:38 PM Thread Starter   #1
amazon10x
Member



Join Date: Feb 2003
Location: 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?
amazon10x is offline   QUOTE Thanks
Old 11-08-03, 07:04 PM   #2
Christoph
JAPH Senior

 
Christoph's Avatar 

Join Date: Oct 2001
Location: 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.

__________________
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!"
-dark_15

Last edited by Christoph; 11-08-03 at 07:37 PM.
Christoph is offline   QUOTE Thanks
Old 11-09-03, 12:45 AM   #3
Arkaine23
Captain Random
Senior Evil Genius


 
Arkaine23's Avatar 

Join Date: Nov 2001
Location: Woodlands, Tx

10 Year Badge
 
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.

__________________
Folding.for.team.32.as.OC3d!
i5 3570 @ 4.5 | 8GB | SSD | 5-disk Raid 0 | 660 Ti
Folding User Stats
Arkaine23 is offline Folding Profile Heatware Profile   QUOTE Thanks
Old 11-09-03, 03:45 AM   #4
sensai
Registered

 
sensai's Avatar 

Join Date: Nov 2003
Location: I AM CANADIAN

 
try this:::
mkdir /mnt/myroot
mount /dev/hda4 /mnt/myroot
mount -t proc /proc mnt/myroot/proc
chroot /mnt/myroot /bin/bash
passwd
{enter your desired password}
exit
umount /mnt/myroot/proc
umount /mnt/myroot
reboot


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
sensai is offline   QUOTE Thanks

Post Reply New Thread Subscribe


Overclockers Forums > Software > Alternative Operating Systems
Alternative Operating Systems Linux, Mac, Unix Operating Systems and Applications
Forum Jump

Thread Tools Search this Thread
Search this Thread:

Advanced Search


Mobile Skin
All times are GMT -5. The time now is 06:41 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
You can add these icons by updating your profile information to include your Heatware ID, Benching Profile ID or your Folding/SETI profile ID. Edit your profile!
X

Welcome to Overclockers.com

Create your username to jump into the discussion!

New members like you have made this the best community on the Internet since 1998!


(4 digit year)

Why Join Us?

  • Share experience
  • Max out your hardware
  • Best forum members anywhere
  • Customized forum experience

Already a member?