aboutsummaryrefslogtreecommitdiffstats
path: root/testing/socklog/socklog.post-install
diff options
context:
space:
mode:
authorPrzemyslaw Pawelczyk <przemoc@zoho.com>2016-04-23 13:13:38 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-04-25 06:54:18 +0000
commita593d306c92f8bc15a1797c0a2ccfa784edbc4a0 (patch)
treee4ea45498386fd0c74f7a6a10422836df56932af /testing/socklog/socklog.post-install
parentccc056dbf9d3fdeef2a8e8abc00f9d2cddc5348e (diff)
downloadaports-a593d306c92f8bc15a1797c0a2ccfa784edbc4a0.tar.bz2
aports-a593d306c92f8bc15a1797c0a2ccfa784edbc4a0.tar.xz
Add -g option (GECOS/comment) to adduser in scripts.
This way we can avoid ugly default: Linux user,,,
Diffstat (limited to 'testing/socklog/socklog.post-install')
-rw-r--r--testing/socklog/socklog.post-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/socklog/socklog.post-install b/testing/socklog/socklog.post-install
index 9cfa37f90e..3f1b8a31dd 100644
--- a/testing/socklog/socklog.post-install
+++ b/testing/socklog/socklog.post-install
@@ -3,7 +3,7 @@
# Copyright 2015 Stuart Cardall (developer@it-offshore.co.uk)
# Distributed under the terms of the GNU General Public License, v2 or later #
-adduser -S -H -h /var/empty -D -s /sbin/nologin log 2>/dev/null
+adduser -S -H -h /var/empty -D -s /sbin/nologin -g log log 2>/dev/null
if [ ! -d /etc/sv/socklog-unix ]; then
socklog-conf unix nobody log
mkdir -p /etc/service