diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-09-15 20:12:20 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-09-15 20:12:20 +0200 |
commit | 2908150adea4bbf7d8b1dd6ae9a84bdd53617708 (patch) | |
tree | 9390f0cf12bf9d1a4fc7c9cdcf6d44d93a4e5570 /debian | |
parent | 0758b396d570b2ad4397ec35f5916515e8c223f9 (diff) | |
parent | 19e0bb3c555e0f6e948cc15b33637a770df225b5 (diff) | |
download | vyatta-cfg-system-2908150adea4bbf7d8b1dd6ae9a84bdd53617708.tar.gz vyatta-cfg-system-2908150adea4bbf7d8b1dd6ae9a84bdd53617708.zip |
Merge branch 'current' of github.com:vyos/vyatta-cfg-system into equuleus
* 'current' of github.com:vyos/vyatta-cfg-system:
T1616: fix DHCPv6 script behaviour in op mode.
openvpn: T1630: add system user openvpn
vxlan: T1636: initial rewrite with XML and Python
Makefile.am: fix after removing files for bridge and bonding
bridge: T1615: remove old vyatta-bridge.pl
bonding: T1614: increase config version from interfaces 1 -> 2
bonding: T1614: remove old style node.def files in favour of XML/Python rewrite
bridge: T1556: migrate bridge config to XML/Python
[tunnel] T1593: Added ip6gre encapsulation for tunnel interfaces
loopback: T1601: rewrite using XML/Python definitions
powerdns: T1595: add config migrator to remove 'listen-on'
powerdns: T1524: support setting allow-from network
dummy: T1580: rewrite in new style XML/Python
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/vyatta-cfg-system.postinst.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index 965563c8..18e84055 100755 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -28,6 +28,11 @@ if ! grep -q '^tss' /etc/passwd; then adduser --system --group --shell /usr/sbin/nologin --home /var/lib/tpm tss fi +# OpenVPN should get its own user +if ! grep -q '^openvpn' /etc/passwd; then + sudo adduser --system --group --shell /usr/sbin/nologin --home /var/lib/openvpn openvpn +fi + # Remove leftover udev files from earlier release if [ -d /etc/udev/rules.d/ ]; then rm -f /etc/udev/rules.d/*vyatta-net.rules |