Hi
Does anybody habe an idea on how to create SSH enabled users at boot. I have a system where i boot Feather Linux (Knoppix remaster) from a USB stick, and I would like to add a user doing boot, so when the system is booted I can access it from a SSH client. I would prefer not to include the users in a remaster since it is not as dynamic as adding users from the knoppix.sh script.
I have tried to use the useradd and passwd functions, but the passwd function needs a input from the keyboard so I can not use it doing boot. Further I have tried to generate a shadow and passwd file with the passwords and users created, and then replacing the shadow and passwd files created doing boot with the ones with passwords and it works, but when I try to do it in the knoppix.sh script the file will be overridden with the default files after the knoppix.sh script has been executed.
Does anybody have a clue on a solution to this problem?
Regards
Thorbjørn

Seagate ST6000NM0115 6TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive
$159.99
Seagate Exos X14 10TB 7200RPM 3.5" SAS 12Gb/s Hard Drive HDD ST10000NM0528
$165.00
Seagate 14TB Exos X14 7200RPM SATA 6Gb/s 256MB 3.5" Enterprise HDD ST14000NM0408
$354.99
Seagate Exos X16 ST10000NM010G 10TB 7200RPM SAS 12Gb/s 3.5" 512e/4Kn HDD
$199.00
Seagate ST500DM009 BarraCuda 500 GB 3.5" SATA III Desktop Hard Drive
$14.99
HGST HUS724040ALA640 4TB 7200 RPM SATA 3.5" Internal Desktop Drive 100% Health
$78.00
Dell ST91000640SS 1TB 2.5" 6Gb/s 64MB 7.2K RPM SAS Hard Drive Dell P/N: 0VXTPX
$16.99
Seagate Barracuda 3TB 3.5" HDD 7200RPM 64MB SATA 6Gb/s ST3000DM001 Tested
$49.99
MG08SCA16TE Toshiba 16TB 7.2K SAS 12gb/s 512e 3.5inch HDD HDEPN10GEA51 NEW
$454.44
Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A
$69.00