seems like a simple thing, but how to I bypass or automate the encrypted filesystem passphrase query at boot, so that my intranet (lol) server doesn't hang until I can pop in and type a simple word on a keyboard?
The only nonsense I've found so far is how to invoke crypt USERNAME in a startup script, which works with this console-less app about as much as a bicycle with no seat does a tour de france hopeful.
I am predicting the answer to be simple, in turn making me feel stupid. KTIABYE
misant, linux peops luks and mounting at boot
-
- Posts: 4755
- Joined: Mon Oct 22, 2001 7:00 am
-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
A thought occurred while doing the dishes: wouldn't
do the trick?
Code: Select all
echo "yourpassword" | cryptsetup luksOpen /dev/loop0 fsname
-
- Posts: 4755
- Joined: Mon Oct 22, 2001 7:00 am
I'll bet it would, will give it a try as soon as the lawn is mowed.
Thanks!
As far as the filesystem being encrypted-it started as a multi-user samba fileserver back when it was fashionable to restrict personal use of disk usage.
Now we've got a few years of mysql data and a big hatful of poorly-documented (oops) customizations in a warrantee-less PE 2650 living a bare-wire failover existence. I'm scared to even look at it cross-eyed, much less do a full rebuild and restore.
Thanks!
As far as the filesystem being encrypted-it started as a multi-user samba fileserver back when it was fashionable to restrict personal use of disk usage.
Now we've got a few years of mysql data and a big hatful of poorly-documented (oops) customizations in a warrantee-less PE 2650 living a bare-wire failover existence. I'm scared to even look at it cross-eyed, much less do a full rebuild and restore.