Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

luks password bypass in systemd

$
0
0
Hey,

I've recently upgraded my backup machine from 11.4 to openSuSE 13.1 and I use an encrypted drive. In the past (prior to systemd) I could edit /lib/cryptsetup/boot.crypto.functions to look something like the following:

Code:

local cmd
            # map the devices
            if test -n "$luks" || cryptsetup isLuks "$device" &> /dev/null; then
                luks='yes'
                cmd=(luksOpen -d /path/to/my/key "$device" "$name")
            else

However, doing this seems to no longer work as I get a prompt like:

Code:

Password entry required for 'Please enter passphrase for disk MYDISK (cr_mountpoint) on /mountpoint!' (PID ####).
Please enter password with the systemd-tty-ask-password-agent tool!

Does anyone know what file I might need to edit to fix this?

Thanks!

Viewing all articles
Browse latest Browse all 40713

Trending Articles