diff options
Diffstat (limited to 'user/strongswan/strongswan.pre-install')
-rw-r--r-- | user/strongswan/strongswan.pre-install | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/user/strongswan/strongswan.pre-install b/user/strongswan/strongswan.pre-install index da43ede66..f41a4ab11 100644 --- a/user/strongswan/strongswan.pre-install +++ b/user/strongswan/strongswan.pre-install @@ -1,6 +1,7 @@ #!/bin/sh -addgroup -S ipsec 2>/dev/null -adduser -S -D -H -h /var/empty -s /sbin/nologin -G ipsec -g ipsec ipsec 2>/dev/null +groupadd -r ipsec 2>/dev/null +useradd -c ipsec -s /sbin/nologin -g ipsec \ + -m -d /var/empty -k /etc/skel -r ipsec 2>/dev/null exit 0 |