-
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

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD
$378.93

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

Dell Poweredge R620 10x 2.5" bay with 256GB (16x16gb) DDR3, 2x E5-2690v2, H710
$349.99

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

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb
$374.99

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD
$149.99

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$409.99

Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server
$349.99

Dell PowerEdge R730 Server 2x Xeon E5-2630 V4 64GB DDR4 2TB HDD Rackmount
$489.99