Why do you need the password?
You want to start a sshd? Then start it from the hdd while customizing, create the keys, set the password and stop it. And create the compressed fs.
Bye
I Was wondering if I was to put the following command into a script that I called at boot time, would it work?
passwd knoppix $'\n' 'NewPassword' $'\n' 'NewPassword' $'\n'
Trying to get the password automatically set upon boot to a default password of my choosing (Yes I know it's insecure, but it's not something I'm worried about the security on)
The $'n' is supposed to be a carriage return (Enter I'm hoping).
Will this this work or is there something else I need to do to do what I want this to do? I'm not at a machine I can test it on at the moment or else I wouldn't have posted that![]()
Why do you need the password?
You want to start a sshd? Then start it from the hdd while customizing, create the keys, set the password and stop it. And create the compressed fs.
Bye

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray
$169.99
MSI Gaming Power GL73 8SE Win11 Intel Core i5-8300H 32GB RAM 1Tb SSD 17.3"
$340.00
LOT OF 2 Dell Latitude 5521 Touch Laptop i7-11850H NO RAM/SSD BIOS LOCK 4 PARTS
$239.00
Dell Inspiron 5570 8GB RAM 256GB SSD Intel Core [email protected] Laptop
$126.65
AMD Ryzen 7 9800X3D - Ryzen 7 9000 Series Zen 5 8-Core 5.2 GHz - Socket AM5 120W
$399.99
AMD Ryzen 7 3700X 4.40 GHz 8 Core 100-000000071 16 Thread AM4
$79.99
AMD Ryzen 7 9800X3D 8-Core AM5 CPU 4.7GHz 96MB L3 8MB L2 100MHz
$389.99
AMD Ryzen 7 7800X3D 8-Core 16-Thread 4.2GHz/5.0GHz Socket AM5
$275.00
Lenovo ThinkCentre M920S Sff Intel Core i5 8600 8GB 256GB SSD Windows 11 Pro
$94.99
8-core 10-core GPU baseboard 8654 to PCIE 5.0x16 GPU expansion baseboard
$377.77