PDA

View Full Version : root psswrd



gosselcra
08-19-2004, 06:44 AM
HEY

Im new to knoppix but i got the cd from my friendand im not sure but there is a password on all of the main functions and its really annoying :x and i was just wondering if there was a way I could get past the code and change it without knowing the password

plz help

user unknown
08-19-2004, 06:55 AM
there is a password on all of the main functions
Which main functions?
KDE- and hardware-setup?

gosselcra
08-19-2004, 06:56 AM
everything from changing user setting to the time

eco2geek
08-19-2004, 07:15 AM
Hey! Look up!

Up at the top entry in this section.

Which one? The one that reads, Sticky: Root Password ( what is it? ).

Wait, here's a link for you (http://www.knoppix.net/forum/viewtopic.php?t=11500).

Click it. Read it.

gosselcra
08-19-2004, 07:29 AM
Hey! Look up!

Up at the top entry in this section.

Which one? The one that reads, Sticky: Root Password ( what is it? ).

Wait, here's a link for you (http://www.knoppix.net/forum/viewtopic.php?t=11500).

Click it. Read it.

ive read it but im trying to figure out how to get the password if i dont know it

eco2geek
08-19-2004, 08:03 AM
There is no set default root password when running Knoppix from the live CD. If you need one, you must set one yourself by typing sudo passwd in a terminal and following the prompts.

So since KDE asks you for a root password to use QTParted, for example, if you haven't set one, you won't be able to start QTParted from the K menu until you do. (As an earlier poster mentioned, you can still start it from the command line by typing sudo qtparted &.)

There's no default set password for the regular "Knoppix" user, either.

gosselcra
08-19-2004, 08:06 AM
i got the cd from a friend
he could have set the password
i want to know if there is a way

gosselcra
08-19-2004, 08:10 AM
*i wanted to know if there is a way to get the password*

eco2geek
08-19-2004, 09:41 AM
Unless your friend somehow came up with his own customized version of Knoppix, that he burned to a CD, and gave to you, there is NO ROOT PASSWORD.

For the last time: You have to SET THE ROOT PASSWORD YOURSELF.

Proof: If there already was a password set, when you issued the "sudo passwd" command, it'd ask you for the existing password before it'd let you set a new one. Does it?

Also see "README_security.txt" on the Knoppix CD (in the /KNOPPIX dir).

(And how could your friend set a password on a CD, given that CDs are a read-only medium?)

gosselcra
08-19-2004, 11:41 AM
well im new to the whole knoppix thing so i dont know how tom do it

gosselcra
08-19-2004, 11:42 AM
and yes it does

Jerunk
08-19-2004, 02:27 PM
Ask your friend?

gruntbuggly
08-19-2004, 02:36 PM
If you are concerned that your friend's CD is modified in some way, then buy or burn your own CD. It's cheap and perfectly legal.

If this sort of thing is happening:


$ touch /root/whatever
touch: cannot touch `/root/whatever': Permission denied

Then you need to first become root by using the su command:


$ su
# touch /root/whatever
# ls -l /root/whatever
-rw-r--r-- 1 root root 0 Aug 19 14:30 /root/whatever

Finally, if you have something to add to one of your previous posts then use the Edit button. This reduces clutter.

user unknown
08-19-2004, 07:33 PM
boot your linux with an additional 's'.
This will give you a loginless shell in single-super-usermode.
There you can modify /etc/shadow


mcedit /etc/shadow
remove the root-line and create a new password as mentioned above.