Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Knoppix Help Forum > How to log in as root?

Forgot Password?
 Knoppix Help Forum   For all discussions about Knoppix, the Linux "Live CD" that lets you run Linux without needing to install on your hard drive.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 08-20-2005   #1 (permalink)
Just Joined!
 
Join Date: Mar 2005
Location: Roskilde, Denmark
Posts: 92
Send a message via AIM to Veli Send a message via MSN to Veli Send a message via Yahoo to Veli
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?
Veli is offline  


Reply With Quote
Old 08-20-2005   #2 (permalink)
Linux User
 
nalg0rath's Avatar
 
Join Date: Sep 2004
Location: Stockholm
Posts: 303
Send a message via AIM to nalg0rath Send a message via MSN to nalg0rath
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':
Code:
# sudo [command]
To set the root password you can run:
Code:
# sudo passwd
Then you'll be prompted to write the new root password.
nalg0rath is offline   Reply With Quote
Old 08-20-2005   #3 (permalink)
Just Joined!
 
Join Date: Mar 2005
Location: Roskilde, Denmark
Posts: 92
Send a message via AIM to Veli Send a message via MSN to Veli Send a message via Yahoo to Veli
Ok, thanks.
Veli is offline   Reply With Quote
Old 08-20-2005   #4 (permalink)
Linux Guru
 
dylunio's Avatar
 
Join Date: Aug 2004
Location: Cymru
Posts: 4,157
Quote:
Originally Posted by nalg0rath
To set the root password you can run:
Code:
# sudo passwd
Then you'll be prompted to write the new root password.
Would that set the password for root? or the user?
Code:
sudo passwd root
will set the password for root definatly (though the first might work).
__________________
Registered Linux User #371543!
Get force-get May The Source Be With You
/dev/null
/dev/null2
dylunio is offline   Reply With Quote
Old 08-20-2005   #5 (permalink)
Linux User
 
nalg0rath's Avatar
 
Join Date: Sep 2004
Location: Stockholm
Posts: 303
Send a message via AIM to nalg0rath Send a message via MSN to nalg0rath
Code:
# sudo passwd
works in every distro I've tried this in so far and one of them is Knoppix.
nalg0rath is offline   Reply With Quote
Old 08-21-2005   #6 (permalink)
Just Joined!
 
Join Date: Mar 2005
Location: Roskilde, Denmark
Posts: 92
Send a message via AIM to Veli Send a message via MSN to Veli Send a message via Yahoo to Veli
I tried
Code:
sudo passwd root
It worked fine, but is it possible to save the password, so that it will be there next time I boot Knoppix?
Veli is offline   Reply With Quote
Old 08-22-2005   #7 (permalink)
Linux User
 
nalg0rath's Avatar
 
Join Date: Sep 2004
Location: Stockholm
Posts: 303
Send a message via AIM to nalg0rath Send a message via MSN to nalg0rath
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.
nalg0rath is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 06:05 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2