PDA

View Full Version : What is the default "/root" password?



villain_2006
12-30-2003, 05:50 PM
I was never asked to create a password for root, and now I need to install a program and can't because I don't know the password.

Please help!

ignuu2
12-30-2003, 05:59 PM
Is this a hd install?

If so you were asked to set up a password and if you don't know it you are out of luck. I think that you can boot from a knoppix cd mount your root partition and edit /etc/passwd file from there add this root2::0:0:root:/root:/bin/bash

now you should have a new user root2 with root priviledges that you can use to reset the root pw.

Hope this helps and good luck

IgnuU2

villain_2006
12-30-2003, 06:02 PM
no...this is just running off of the live cd. no hd install

budhy
12-30-2003, 06:30 PM
run Konsole

$ su
# passwd
# then enter your own pass word twice

thats all

rickenbacherus
12-30-2003, 06:38 PM
I was never asked to create a password for root, and now I need to install a program and can't because I don't know the password.

Please help!

This is perhaps the #1 question asked here at .net. There is no root password. Enter su and you will be root or issue commands as root:

sudo <command>

BTW it isn't possible to install anything to a read-only filesystem with the exception of a few apps installed by scrits that have been written specifically for installing apps to a live cd. You may find those scripts here (http://www.kano.mipooh.net).

bluewhale
02-16-2004, 04:29 AM
So the Knoppix OS in RAM is read only? Or do ' normal ' programs require a pysical place to install which Knoppix can't imitate? I just downloaded the Metaframe Client for Linux to see if I could use it when booting from the 3.3 CD and ran into the ' root password ' required error. While trying to get around that I found this thread.

Is anyone aware of a modification to the CD based Knoppix OS which has the Citrix Metaframe client already installed?

Thanks


Paul

javiergarza4
03-01-2004, 08:44 AM
i know this is old, but you could also run root console and then type passwd and change it to whatever you want

johnb
03-02-2004, 02:39 AM
hi

This is perhaps the #1 question asked here at .net. There is no root password. Enter su and you will be root or issue commands as root:

It also seems to be way-up there in number of people interested in reading more about this topic. There were over 2000 reads on this post when I looked. Maybe there is some other way to make it more clear. A README on the desktop?
curious
johnb

Goner
03-02-2004, 09:43 AM
i must have missed something ;
if there is no password, how do i change the date/time settings using right-click on the clock ??
it keeps asking for a password and without one you cannot change the settings ...

Cuddles
03-02-2004, 12:23 PM
Rickenbacherus,

Considering that this is such a "frequently asked question", you think maybe we could put a STICKY post on this forum on it?

Something like:

Subject: "Root Passwords In Knoppix"

If you are running Knoppix from the CD - you can create a Root password by doing ...
But you will need to save this information by doing ... or you will have to do all of this over and over again each time you exit and reboot.

If you have installed Knoppix onto your hard drive, as in knx-hdinstall, or any of the other hard drive install options, you were asked to enter your Root, or Super User, password twice, and then asked for the default, Knoppix, user password twice...

I think answering these questions is important, I know when I was just starting out, I tried to locate all information on the subject myself, but all of the documentation pointed to reading the Security HOWTO file, which was lame. It only stated that the root and user accounts were password disabled, and that sudo was enabled. Not very helpful, especially when you are clueless about su, or passwd. Maybe a nice sticky post will help everyone out on this subject. I realized that the documentation in Knoppix is limitied, either for security reasons, or for lack of space, or for lack of consideration, but with the frequency of this question, I think we can slow down the posts of them by a simple sticky post - one that "gets them" before they don't see something that is what they are looking for.

Sound like a good idea?
Just trying to help,
Cuddles

OMFG
03-15-2004, 03:41 AM
How about this... I wrote down my root password when I did the HDD install of Knoppix and when I tried to install winamp for linux alpha 1 it asks for root password and i put it in exactly as i typed it during install and it tells me user auth failed and stops the install.. whassup with that?

Stephen
03-15-2004, 06:45 AM
How about this... I wrote down my root password when I did the HDD install of Knoppix and when I tried to install winamp for linux alpha 1 it asks for root password and i put it in exactly as i typed it during install and it tells me user auth failed and stops the install.. whassup with that?

Looks like you wrote the password down wrong. Assuming this was a Debian style install then at the lilo screen type in Linux single then when you get to the prompt passwd and change the password and reboot you now will have root access again.