Never, never, never boot and use Linux (in this case Knoppix) as root! This is a mortal sin.
Hello,
I'm bulding a custom knoppix CD with the kn-remaster script (I know this has not been released for the 7.2 knoppix CD!!, but besides this it works fine)
I modified knoppix-startx script and changes the user "knoppix" to user "root" so the CD boots and logs in as user "root"
Now when I build and run the iso all the icons en background settings are not there, just a clean desktop with no icons or background wallpaper.
When I look in /opt/knx/remaster/root/Desktop the icons are there!
Why does't this work?, anyone got any idea?
Thank you.
WJP
Never, never, never boot and use Linux (in this case Knoppix) as root! This is a mortal sin.
Last edited by Werner P. Schulz; 06-28-2013 at 03:36 PM.
Yes yes, I know.. The CD is not used outside this building, I dont care about security. This is a special project and only for internal use. I need this to run a couple of scripts at boot, or a way to run scripts and create directories without
"sudo".
Or is there a way to give the user " knoppix" root privileges. I just dont want to "sudo su".!!?
Last edited by wjp79; 07-01-2013 at 08:55 AM.
Why not use knoppix.sh for this (tip 4)? This script will be executed by root and you can create your directories.I need this to run a couple of scripts at boot, ..You don't need "sudo su". Have a look within '/etc/sudoers' and you can see that "knoppix" can do all without password.Or is there a way to give the user " knoppix" root privileges. I just dont want to "sudo su".!!?
For exampleCode:sudo mkdir -p /test/test1/test2
Hello,
I already use the knoppix.sh script. But besides this script, I have a dozen of other scripts that I use. I just dont want the user to "sudo" every command / script. (I am using the scripts to mount windows harddrives, fetch fsarchiver images, do badblock test etc etc.)
The weird thing is I remasterd the 7.05 CD with user root and desktop icons without any problems. Now with the 7.2 CD it just doesn't work. I just can't figure out why!,
All the Desktop icons are in /opt/knx/remaster/root/desktop folder. I also tried to move the home folder to /home/root in the passwd file, but this also doesnt work.
Somehow when the CD is build, the /root/desktop folder is "reset". When I boot the CD it is just a clean desktop.
I understand that using "root" is not the "right" way, but this is just how I remasterd the knoppix CD from knoppix live 2.6.23.1and the users are accustomed to.
Last edited by wjp79; 07-02-2013 at 08:27 AM. Reason: changed the \ to / :-)
OMG I feel so stupid.....
It works!!!!...
I Just selected the wrong iso the whole time. using virtualbox..... AAAAAaaaargh... coffeee.....
Thank you for your time.. Maybe someone can just delete this whole topicand spare me the humilliation.

Dell PowerEdge R750 2x Xeon Gold 6326 96GB 12x1.92TB SSD H755 Win 2022
$4999.00
Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00
Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb
$374.99
Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server
$349.99
Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p
$499.88
Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD
$378.93
Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$409.99
Dell PowerEdge R640 8xSFF Server Barebone 2 x Heat Sink w / 2x 1100W PSU
$315.00
Dell Poweredge C4130 2x LGA2011-3 1U 4x GPU Rackmount Server CTO (NO CPU/NO RAM)
$299.95
Dell Poweredge R810 4x Xeon X7560 2.26ghz 32-Cores | 256GB | 3x Trays | H700
$289.99