-
Going where no man ever gone before??
greetings fellow Knoppix customizers.
I am starting this thread as I am starting a very ambitious project (well, for me) - to script and automate the process of re-packing an HD installed Knoppix to a live cd, and maybe even extend it to support making a live-cd out of any Debian system.
hopefully, this would put an end to all of those "how to remaster from an HD-installed Knoppix?" threads.
also, I'd like to use this thread to solve problems I may encounter, and maybe, when I'ts done, recieve feature-requests and such.
(LOL, so much for talking, but it's mostly in my head as of now)
wish me luck, and now - for the first question -
how do I generate a user with an empty password, like root & knoppix have?
-
I am embarking on this project too. I am going to be building live CDs on a regular basis, each with an encrypted filesystem that contains different information. The automated proscess will help in the creation of these CDs.
How were you planning on writing this script? I would prefer that we Do NOT use perl. I think that bash shell is fine.
To answer your question about the password, you want to edit the /etc/shaddow file and remove encrypted password (you just blank that part out).
for example:
root:$1$ve.2WRaU$F8FZqVNwcgQftsnWCG5Ig0:12202:0:99 999:7:::
change it to
root::12202:0:99999:7:::
Lets get this project going.
-
10x.
I love bash scripting, and don't really know perl, so it'll prolly be a bash-only project
-
Senior Member
registered user
I'd recommed python for the job ..
I've already created similiar scripts for python and I can only advise against because the whole thing isn't easy to maintain.
I've rewritten scripts in python and I can now automaticly create remasters by just enabling options in config file.
anyway.. I recommend python since it more flexible than bash
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

HP ProLiant MicroServer Gen8 G1610T @2.3 GHz, 16GB, 712317-001 NO HDD/OS
$199.00

Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset
$129.99

Supermicro 1U Network Server Appliance 16GB RAM 800GB SSD 6 LAN Ports Powers On
$450.00

Supermicro E300-12C Mini 1U Barebone X12SCV-LVDS LGA1200 SNK-P0073A4 w/ Adapter
$225.00

Supermicro E200-8D Mini Server Xeon D-1528 6-Core 64GB ECC 1TB SSD 2x10GbE IPMI
$525.00

HP PROLIANT MICROSERVER GEN8 E3-1220LV2 @ 2.30GHz, 8GB RAM, NO HDD/OS
$164.97

Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram 240gb SSD 2x GPU *READ*
$369.99

New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G
$449.99

Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC
$250.00

Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset
$129.99