why root? if you create a permanent home you get what you wanted without being root.
~
the thing is that I am trying to avoid for knoppix to use actual RAM for temporary directories for browsers and such things
~
What I would like to do is something like this:
~
a) start knoppix using single or "init 2"(?)
~
b) mount a partition
~
c) inside of the mounted partition create a scratch directory
~
d) edit /etc/shadow so that the home directory now points to c)
~
e) go reboot
~
this way I don't have to reset temporary folders in browsers etc. It will all go there
~
lbrtchx
why root? if you create a permanent home you get what you wanted without being root.

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90
SK Hynix 32GB 2RX4 PC4-2666V DDR4 RDIMM Server Memory RAM, HMA84GR7AFR4N-VK
$169.95
SMART(Micron)SafeStor 32GB(1X32GB) 1RX4 NN4-3200AA(DDR4) HPE Server Memory
$159.98
TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot
$573.98
Server Memory: Samsung 32GB 4DRx4 PC4-2133P ECC LRDIMM DDR4 M386A4G40DM0-CPB
$124.95
USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09
16GB Total of SK hynix PC3L-12800S 2 sticks of 8GB each = 16GB Laptop Memory
$27.95
MTA36ASF4G72PZ-2G9E2 MICRON 32GB (1X32GB) 2RX4 PC4-2933Y MEMORY
$229.00
Windows 11 Pro Install/Recovery/Repair USB Flash Drive
$35.00
Micro SD Adapter To SD HC SDHC Memory Card Adapter Reader NEW
$1.39