PDA

View Full Version : Please!!! Help me to find root password! Please HELP!!!



Maximus
06-06-2003, 04:06 PM
I am from Latvija! I had just bought the KNOPPIX v3.2 Live CD it has no instalation you just put in in and work! But the problem is that I don't know root password so I can't make new user and do other things. There is written

<RedHat> There is no automatic start of external accessible services.
<RedHat> 2.) There are no default passwords. All accounts are locked by default.
<RedHat> Even local logins are not possible (unless you set a password or create
<RedHat> new user accounts as root).
<RedHat> 3.) Therefore, all local interactive processes are started by init without
<RedHat> authorization.
<RedHat> Version 1.x up to and including 2.1-21-08-2001: Because there is no
<RedHat> valid password for "su", but still the possibility should exist to use
<RedHat> the system as "rescue cd", all programs (including KDE) are running
<RedHat> under root id.
<RedHat> Changed from version 2.1-24-08-2001 and up: The graphical desktop
<RedHat> is started with the unprivileged user id "knoppix". Programs that
<RedHat> only work for root are started using sudo without password. This has
<RedHat> the advantage of making faults caused by defective software very
<RedHat> unlikely, but does not enhance local security, since it is fairly
<RedHat> easy to switch between the "knoppix" and "root" account. The knoppix
<RedHat> user should never be allowed for external logins (in the case that
<RedHat> sshd or similar servers are being launched).

WHAT TO DO??? Please Help!!! :cry:

RockMumbles
06-06-2003, 04:46 PM
You should use the search function here to find things like this...


Programs that only work for root are started using sudo ...
so as user knoppix, if you need root access in konsole use:

sudo program-name

like this:

sudo passwd root
to set a root password.

sudo su
to open a root shell

etc.

HTH

rock

logy5659
06-06-2003, 06:42 PM
or u could do go to the knoppix in the start menu then find the root shell in the folder and type passwd. Easy as that

adamm
06-06-2003, 07:46 PM
Or, you could look in the documentation and see this in the FAQ for using Knoppix :wink:

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>-<alt>-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."