Results 1 to 7 of 7
I've just got a Danish version of Knoppix (Dappix). When I tried to change some things, I needed to log in as root. The problem is, that it asks for ...
- 08-20-2005 #1Just Joined!
- Join Date
- Mar 2005
- Location
- Roskilde, Denmark
- Posts
- 93
How to log in as root?
I've just got a Danish version of Knoppix (Dappix). When I tried to change some things, I needed to log in as root. The problem is, that it asks for the root password, but I don't know what it is. I've not logged in as root before. Is there something you have too do the first time?
- 08-20-2005 #2
Knoppix by default does not have a root password set. If you waqnt to run a command that needs root permissions you can use 'sudo':
To set the root password you can run:Code:# sudo [command]
Then you'll be prompted to write the new root password.Code:# sudo passwd
- 08-20-2005 #3Just Joined!
- Join Date
- Mar 2005
- Location
- Roskilde, Denmark
- Posts
- 93
Ok, thanks.
- 08-20-2005 #4Would that set the password for root? or the user?
Originally Posted by nalg0rath will set the password for root definatly (though the first might work).Code:sudo passwd root
- 08-20-2005 #5works in every distro I've tried this in so far and one of them is Knoppix.Code:
# sudo passwd
- 08-21-2005 #6Just Joined!
- Join Date
- Mar 2005
- Location
- Roskilde, Denmark
- Posts
- 93
I tried
It worked fine, but is it possible to save the password, so that it will be there next time I boot Knoppix?Code:sudo passwd root
- 08-22-2005 #7
It is not possible unless you have installed Knoppix to your harddrive (not running it from a CD). The Knoppix CD is not a writable media and all the information the computer uses that is specific to your computer is located in your RAM -memory.


Reply With Quote
