PDA

View Full Version : Root Password (what is it?)



Cuddles
06-21-2004, 02:18 PM
Due to the flood of posts on questions ranging from:

What is the root password?
How do I get root access?
What is the Administrator password?
etc, etc, etc... when using the Knoppix CD.
( NOTE: When you install Knoppix to your hard drive, you are asked during the install what the default user "knoppix" and "root" passwords are going to be, and this does not apply. Only when you use the CD to boot with, and have not booted under a hard drive install )

This post should get those posts down to an answer here, I hope...


From the FAQ:
Q: What is the root password?
A: There is none; all passwords are locked by default. You can set it by going Knoppix Menu->Root Shell and typing "passwd", then enterting a root password, also there are several sections you can read dealing with this subject in KNOPPIX/README_Security.txt. You can also type "sudo su" or "sudo -s" in any console window, or use <ctr>--F2 to get at the text console with already opened root shell.

Apparently, however, in some versions of Knoppix, if you type 'sudo -s', it will ask for a password. If you simply press return without entering anything, it will tell you 'Authentication Failed."

Thanks Markus for the quote from the FAQ.

If this post does not answer your question about passwords, Knoppix passwords that is, you can also type root password in the box above, labeled Search Knoppix.net, to find other posted questions and responses.

Thank you.

j.drake
06-21-2004, 03:21 PM
Someone requested a new user section, and eadz indicated his approval of the idea. http://www.knoppix.net/forum/viewtopic.php?p=51523#51523 This would really make a good sticky for that section too if it is created.

jd

mzilikazi
07-08-2004, 04:32 AM
If you don't like to set a root password you can alway launch an application from the command line. Just get root first.

su
qtparted&

voila! qtparted launched as root.

ForbiddenSword
07-30-2004, 09:18 AM
If you havent noticed,
#su
#passwd
Will let you set the root password, simple.

mwaugh
08-18-2004, 08:30 AM
:wink:
-thank you all for helpw with root passwordw!
-now if I could just get rid of this for ever wthat keeps w showing up every where
even using Suse also on this machinew.

I'm using a logitech wireless itouch keyboard and I only have this problem in Linux although not sow far in Red Hat 9.

-any suggestionsw?
-can only delete by highlighting and then deleting
-if I back space it automaticawlly shows upw.

michaelo.waugh@telus.net

Basil the Fox
09-22-2004, 08:53 AM
Hi

I have followed the instructions from the FAQ but when I type "passwd" I get the "Changing password for knoppix (current) UNIX password:" request, but I can't type anything at all after that.

I assume (as the FAQ quote says) that there's no password, so press enter without typing anything, but I get the message "passwd: Authentication faliure". I have also tried typing something, anything, but the console window won't let me enter any characters at this point.

I have tried this a number of times but to no avail.

Do you have any suggestions?

Basil the Fox
09-22-2004, 09:15 AM
Never mind, got it.

I wasn't running the root shell window, just a standard console window.

xboxrulz
12-17-2004, 03:36 AM
appearantly YOU DON'T NEED TO CHANGE THE PASSWORD!!

Just go to the BASH shell (terminal) and just type "su" (w/ out the quotes)

There, u got root access!


This is ONLY FOR THE LIVE CD THOUGH!

xboxrulz

Cuddles
12-18-2004, 03:06 PM
appearantly YOU DON'T NEED TO CHANGE THE PASSWORD!!

Just go to the BASH shell (terminal) and just type "su" (w/ out the quotes)

There, u got root access!


This is ONLY FOR THE LIVE CD THOUGH!

xboxrulz
In some cases, you do... If you are logged in as the "default" Knoppix user, running off the Live CD, and want to make changes with, say, Control Center - some things require you to enter the "Administrator" password, or the "Super User" password... If a root password is not set, then entering nothing in that querry, reports an error. If you want to change the format of time and date, within Control Center, you need to be able to enter a Super User password... If you wanted, you could get around this, by doing a su in your own konsole, then typing kcontrol, or, you could just type sudo kcontrol - but some people will just want to click on the menu entry Control Center - and using the menu entry, will start the program in your "user" rights / permissions, and not root's.

Cuddles
12-18-2004, 03:26 PM
Just a little enlightenment...

If you noticed, this post being directed to anyone new to Knoppix / Debian / Linux, that you have two options for being a root; su, and sudo.

Possible uses for these two Command Line commands:

sudo program - where program is something that you want to be run as root user priveledges. This can be used to run only one program as root, and when that program ends, your regular user priveledges are returned in the konsole you entered this command in.

su - This can be used when you need to enter more than one command, and they all need to be run as root. This command is good when you need to run more than one command as root, and dont want to keep adding the sudo in front of all of them...

For some examples:
sudo kcontrol

su
kcontrol
guarddog
netcardconfig
exit

( note, the exit at the end of the su "block" will cause the root logged in to "exit", and log out root, returning you back to your regular user account. It should also be pointed out that all three of the programs, listed inbetween su and exit, are run as root )

jatos
01-09-2005, 01:07 PM
Right I am a complete newbie to linux - picked up a few things besides that I don't really know how it works. Anyway I have installed the latest version of knoppix (unless they've updated within the last few weeks) and I want firstly to get a login dialog so I can choose to login as root.

jjbergdolt
05-11-2005, 03:23 PM
Many thanks. It works fine.

alex610
05-19-2005, 05:04 AM
Hi

I have followed the instructions from the FAQ but when I type "passwd" I get the "Changing password for knoppix (current) UNIX password:" request, but I can't type anything at all after that.

I assume (as the FAQ quote says) that there's no password, so press enter without typing anything, but I get the message "passwd: Authentication faliure". I have also tried typing something, anything, but the console window won't let me enter any characters at this point.

I have tried this a number of times but to no avail.

Do you have any suggestions?

The same thing happens to me although I'm using Root shell windows.
I'm completely a newbie. I want to copy a folder to my Usb Drive. But I announced that I couldn't make a folder. How's wrong?

tdjokic
05-19-2005, 07:23 AM
I can't type anything at all after that. Wrong! You CAN type, but this is invisible, to prevent someone to see your password. Type carefully, retype when asked, and you will get massage that you have new password, something like that....

Fatcharlie
10-27-2005, 11:16 PM
Hi all, another newbie realises that Windoze is rubbish!

I have managed to change my root password (Hooray!) and I am trying to set myself up as a Super User so I can access the files mydaughter encrypted before I rebuilt my machine and then she couldn't access them because etc. etc. etc.

Without Super User status I am unable to get access because they are still protected in some way.

However, having changed my Root password to something I know, I can now get to the Super user - not!

When I enter the new Root password in the Super user screen I get a message saying I need to check that DSOPserver is running.

I have been to the root console and typed 'sudo dsopserver', but then it tells me 'dsopserver appears to be running, remove home/knoppix/.dsopserver_knoppix__0 and run dsopserver again' (or something like that)

What am I doing wrong?
Cheers,

fatcharlie.

thothie
12-29-2005, 10:14 PM
The primary thing I found Knoppix useful for was dealing with corrupt NTFS systems - deleting and moving Windows files about when Windows was so far gone it would refuse to boot - thus saving data that might have otherwise been lost to Format and saving time on reinstalls.

This new version of Knoppix, however, gives me "You don't have permissions" errors that I never got with the old one whenever I try to move or delete anything. Sadly my older CD has been lost (older Knoppix didn't have a wide a range of compatibility anyways).

Will creating a password for root user allow me access to these missing permissions? Or is this some other issue with the new Knoppix.

drCrayola
08-16-2013, 02:03 PM
NOT A NOOB.

Cannot invoke root shell or "set password for root" from the K menu. Nothing appears, nothing evident in top. What is the command for the "set password for root" program (not sudo passwd)?

Advice for setting the root password through alternative means?


I've been using knoppix for 5 or 6 years and 'passwd root' or 'sudo passwd' or 'sudo su -' do not work as they have in the past.

Werner P. Schulz
08-16-2013, 04:16 PM
Which Knoppix version?
Did you test the integrity of your download with "md5sum" and your Knoppix using the cheatcode "knoppix testcd"?
Alternative: start terminal as user knoppix
su
passwd

drCrayola
08-16-2013, 06:58 PM
Thanks Werner,

2 parts:

I accidentally "secured" the PXE terminal server which disallows root access to the PXE clients

The permissions of the knoppix disk aka /mnt-system (from my nfs) were 777'ed when I remade the terminal server with the real cd, I backed up my nfs share and remade /mnt-system with 777.