Open up a console window. At the prompt, type:
sudo passwd root
Enter password twice. Now root has a password.
-SUO
Here's How To Set Root Password On Knoppix-Live-CD:
1) Open The Shell - Konsole (There Should Be An Icon On Your Task Bar)
2) You Will Get A Prompt That Says: knoppix@ttyp0[knoppix]$
When You Get This Prompt Type: knoppix@ttyp0[knoppix]$ su Root
This Changes You To Root From Within The Console
3) Then Your Prompt Should Look Something Like: root@ttyp0[root]$
Just something like that. It might be a little different.
When You Do Then It Notices You As Root But You Still Don't Have
The Root Access.
4) After that type: root@ttyp0[root]$ KUser
This will open up the KUser Manager Window.
5) After its opened highlight the Root section.
6) Above the list of logins you should see something like Add Edit Del...
Click On The Edit Icon.
7) At the top right corner you should see: Set Password..
Click On That And Type In The Password - Verify It and that will be
the new root password for the Knoppix-Live-CD.
I was just messing around with Knoppix and found this out...I've had a lot of
people ask me how to do it and I've just found out how and I couldn't find
anything online on how to do it...so hopefully then will help some of you guys
out Have Fun.
Riley
Open up a console window. At the prompt, type:
sudo passwd root
Enter password twice. Now root has a password.
-SUO
ahhh, now i see there was no place set where to store the passwd and shadow file.
SUOrangeman, MrWizard,
I tried both methods to get password working on remastered Knoppix 3.3
with no success. Password for root is accepted, but after reboot I cannot login. This is not big deal since there is another problem: login times out with msg: Login timed out after 60 seconds.
( and I have root access with no password - and I keep it this way till I find howto get my password working)
There are lines in inittab like this:
1:12345:respawn:/bin/bash -login >/dev/tty1 2>&1 </dev/tty1
which probably allow me access without password, but I need password.
( inittab on my redhat partition has no '-login' in it ??
Any suggestions ?
wiesiek
Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5" Enterprise Hard Drive
$157.99
WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN
$174.99
WD 2TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0020BBK-WESN
$49.99
Seagate ST9450404SS 9PY066-080 Savvio 450GB 10K 10k 2.5" 6G SAS Hard Drive
$15.00
Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive
$29.99
HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601
$82.99
HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD
$74.99
2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive
$27.49
WD 4TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0040BBK-WESN
$69.99
HDD 3.5" SATA Hard Drive with Windows 7/Win 10 Installed Legacy
$35.99