|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (8 bit)
Join Date: Mar 2001
Location: Oceanside CA USA
Posts: 181
|
Knoppix root password
I am using Knoppix 3.2. With some programs I am asked to log-in as root. If I change to the console and type "su" I am asked for a password. How do I assign a root password?
|
|
|
|
|
|
#2 |
|
Lest we forget
Join Date: Jun 2003
Location: Ontario, Canada
Posts: 1,870
|
If you login as root you can change the password with passwd(1)
Of course, you need to have the current password to do that...you do have it, right? If you often need to run a program as root, look into using sudo(8)
__________________
redqueen: Antec Sonata, Pentium-D 2.5GHz, MSI G31M3-L, 2GB ram, 320 GB HDD, OpenBSD hal9000: Lenovo T61, 2GB ram, 120 GB HDD, FreeBSD |
|
|
|
|
|
#3 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
You should have assigned a root password when you installed Knoppix. If you didn't or you can't remember then you either have to set it up again or try to figure out the pw.
__________________
Want to Make $$$$ with your Computer? No Risk! Simply press shift-4 four times in a row |
|
|
|
|
|
#4 | |
|
Lest we forget
Join Date: Jun 2003
Location: Ontario, Canada
Posts: 1,870
|
Quote:
|
|
|
|
|
|
|
#5 | |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
Quote:
|
|
|
|
|
|
|
#6 |
|
Ceiling cat is watching!
Join Date: Feb 2006
Location: Iowa
Posts: 1,283
|
Is this just the knoppix boot CD or did you install it to your harddrive? If it's just the bootable cd:
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 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."
__________________
~Matt CCNA |
|
|
|
|
|
#7 |
|
Member (8 bit)
Join Date: Mar 2001
Location: Oceanside CA USA
Posts: 181
|
Thanks to everyone for your replies. I am using Knoppix on the CD, and I have never set any passwords. I will try the Menu->Root Shell method suggested by mojo.
|
|
|
|
|
|
#8 |
|
Member (11 bit)
Join Date: Feb 2005
Location: tfp
Posts: 1,921
|
On the cd, to become root you must type (at the command line) "sudo su" without the quotes. You will then be root, and can set a root password if you need to (You shouldn't though, because you can do anything you need to off of the command line through sudo). This is unique to knoppix, and violates no rules :-)
__________________
System: ASUS A8N32-SLI Deluxe AMD Opteron Denmark 165 Sapphire Radeon 4850x2 2X1GB G.Skill DDR400 Ram Corsair 850W PSU Thermaltake Soprano case Seagate 7200.10 320GB |
|
|
|
|
|
#9 |
|
Member (7 bit)
|
I'd like to think that people are a little more secure with their root access!
|
|
|
|
|
|
#10 |
|
Member (11 bit)
Join Date: Feb 2005
Location: tfp
Posts: 1,921
|
It's a live cd, so there's nothing you can do to hurt the installation; the whole thing's read only, and all the files installed on it are freely available through the knoppix download to start with.
I agree, for a permanent install this would be an absurd security situation. |
|
|
|
|
|
#11 |
|
Member (7 bit)
|
Ah I see, it's the livecd install, my bad.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can't run NAV in Safe Mode | Sonoma Dave | Networking & Online Security | 6 | 12-13-2004 08:16 AM |
| MSN connection won't save password!! | brentconn | Windows Legacy Support (XP and earlier) | 3 | 10-12-2002 06:45 PM |
| Changing root password in freebsd... | ragear | Linux OS and Software Assistance | 1 | 07-12-2002 11:48 PM |
| Password Question | Wanabe | Windows Legacy Support (XP and earlier) | 1 | 09-21-2001 07:27 PM |