-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 El 2017-12-12 a las 01:45 +0100, Carlos E. R. escribió:
On Monday, 2017-12-11 at 22:18 -0000, Mikhail Ramendik wrote:
On 11 December 2017 at 21:19, Carlos E. R. <> wrote:
The system will prompt for password during boot, if the partition is mounted by default in fstab. Graphically if you use Plymouth (the default).
I do it noauto and mount manually. Actually, I wrote my own scripts.
And how do your scripts work? You added something to sudo's config so they can use sudo to mount manually?
I can have a look tomorrow at what I did (it i1 1:43 AM here), but you should not /need/ it. It just makes life simpler for me, because my scripts make it similar to pre-systemd times.
The manual command line is: cryptsetup luksOpen $CR_DEVICE $CR_NAME mount $FSTAB_MOUNT What my script does is simply find the exact parameters to enter, so that I run: crypto_mount [DEVMAP|MOUNT_POINT] and it does it. Script is attached. You have to copy it to /usr/local/bin/crypto_mount and create several symlinks: /usr/local/bin/crypto_ -> crypto_mount* /usr/local/bin/crypto_fsck -> crypto_mount* /usr/local/bin/crypto_info -> crypto_mount* /usr/local/bin/crypto_lst -> crypto_mount* /usr/local/bin/crypto_map -> crypto_mount* /usr/local/bin/crypto_mount* /usr/local/bin/crypto_mount~* /usr/local/bin/crypto_sinfo -> crypto_mount* /usr/local/bin/crypto_umount -> crypto_mount* /usr/local/bin/crypto_unmap -> crypto_mount* - -- Cheers Carlos E. R. (from openSUSE 42.2 x86_64 "Malachite" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAlovp2cACgkQja8UbcUWM1zTYAD+KaYptTMiQEiN5AaaJqGQBpf8 vDkitVuhkvAFTI/OGq4BAIoX28Ioq3rIkZFArE3qa6y4ZmxVK9WEfJn1RafqY9mn =6Z6Z -----END PGP SIGNATURE-----