View previous topic :: View next topic |
Author |
Message |
f.kater Guru
Joined: 23 May 2002 Posts: 342 Location: Berlin
|
Posted: Fri Aug 15, 2014 8:58 am Post subject: systemd + openvpn: password entry skipped [solved] |
|
|
Hi,
with systemd, an openvpn connection can be started like this: Code: | systemctl start openvpn@my_conf_file | However, in case you have openvpn keys that require a password entry on tty/stdin, this entry is skipped, with according failure messages in the systemd journal. For openvpn keys without password the systemd openvpn scripts work out of the box.
Sure, systemd is prepared by design to allow password entry (with helpers like systemd-ask-password), however, this does not seem to be the case for systemd's default configuration for openvpn yet.
Anyone with a solution yet?
Last edited by f.kater on Thu Aug 28, 2014 4:36 am; edited 1 time in total |
|
Back to top |
|
|
f.kater Guru
Joined: 23 May 2002 Posts: 342 Location: Berlin
|
Posted: Thu Aug 28, 2014 4:36 am Post subject: |
|
|
Am I the only one securing openvpn connections with a password?
Anyway, this seems to be fixed in openvpn-2.3.4-r1 (not yet marked stable).
And if anyone wants to disable the annoying password requests on *all* terminals, then cd to /usr/lib64/systemd/system/multi-user.target.wants/ and replace the symlink systemd-ask-password-wall.path by a systemd-ask-password-console.path symlink. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|