-
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

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99

GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5
$189.99

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery
$54.99

ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield
$84.99

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard
$59.99

Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)
$29.90

ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio
$34.99

ASUS PRIME Z370-A II LGA 1151 Intel Z370 DDR4 DIMM USB3.1 DVI ATX RGB
$69.99

ASUS B85M-G / B85M-G PLUS LGA1150 DDR3 Micro ATX Motherboard HDMI Support 4thCPU
$45.00

Dell XPS 8940 Desktop Motherboard Intel H470 LGA1200 DDR4 K3CM7 KV3RP 427JK
$154.99