diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-11-01 14:46:00 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-11-01 14:47:27 +0100 |
commit | 7467d292063c766cc80129520e9ca22c9c096705 (patch) | |
tree | 7998d7170a87be4c8628d40cac18c215e23c5bfa /main/rpcbind/rpcbind.pre-install | |
parent | 3cebd216b5fe3d2689e3200cecfa6803678c6d57 (diff) | |
download | aports-7467d292063c766cc80129520e9ca22c9c096705.tar.bz2 aports-7467d292063c766cc80129520e9ca22c9c096705.tar.xz |
main/rpcbind: use 'rpc' as user, fix startup
Diffstat (limited to 'main/rpcbind/rpcbind.pre-install')
-rw-r--r-- | main/rpcbind/rpcbind.pre-install | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/main/rpcbind/rpcbind.pre-install b/main/rpcbind/rpcbind.pre-install new file mode 100644 index 0000000000..8db3128626 --- /dev/null +++ b/main/rpcbind/rpcbind.pre-install @@ -0,0 +1,5 @@ +#!/bin/sh + +addgroup -S rpc 2>/dev/null +adduser -S -h /var/lib/rpcbind -s /sbin/nologin -D -G rpc rpc 2>/dev/null +exit 0 |