LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-07-2005, 07:02 PM   #1
noz6
LQ Newbie
 
Registered: Jan 2005
Distribution: slackware
Posts: 13

Rep: Reputation: 0
root password


im sure youve all heard this before but when i try to install something with Kpackage (knoppix) it asks me for a root password.

what should i do?
 
Old 03-07-2005, 07:05 PM   #2
Optimistic
Member
 
Registered: Jun 2004
Location: Germany
Distribution: Debian (testing)
Posts: 276

Rep: Reputation: 33
Give the root password, of course.

You have to be root (or have special permision) to install software in most cases
 
Old 03-07-2005, 07:52 PM   #3
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 48
are you using a knoppix boot CD? Or did you install to the HD? I don't know about installing to the HD, but w/ a CD there is no root password, just hit enter.
 
Old 03-07-2005, 08:56 PM   #4
noz6
LQ Newbie
 
Registered: Jan 2005
Distribution: slackware
Posts: 13

Original Poster
Rep: Reputation: 0
its on the HD but that doesnt work
 
Old 03-07-2005, 09:33 PM   #5
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 48
do you have the CD? if so do the following in a command line, I use the boot parameter linux26 2(this will give you the 2.6 kernel, and runlevel 2)
[/quote]
mkdir /newroot

mount /dev/(root) /newroot

chroot /newroot /bin/bash
[/quote]

this will give you a root prompt

Quote:
passwd root
this will allow you to change the root password.

Reboot

hope this helps
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 10:28 PM
Booting into Single User on MDK 9 asks for root password instead of booting into root acadcworks Linux - General 6 01-10-2006 06:51 AM
root password a4syed Linux - General 7 10-01-2005 07:04 PM
Logged in as root, prompted for root password ta0kira Slackware 13 04-25-2005 01:29 AM
root password shanenin Linux - Security 13 09-25-2003 04:34 PM


All times are GMT -5. The time now is 08:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration