From a593d306c92f8bc15a1797c0a2ccfa784edbc4a0 Mon Sep 17 00:00:00 2001 From: Przemyslaw Pawelczyk Date: Sat, 23 Apr 2016 13:13:38 +0200 Subject: Add -g option (GECOS/comment) to adduser in scripts. This way we can avoid ugly default: Linux user,,, --- unmaintained/apache-couchdb/apache-couchdb.post-install | 2 +- unmaintained/ejabberd-git/ejabberd-git.pre-install | 2 +- unmaintained/kde-workspace/kde-workspace.pre-install | 2 +- unmaintained/shadowircd/shadowircd.pre-install | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'unmaintained') diff --git a/unmaintained/apache-couchdb/apache-couchdb.post-install b/unmaintained/apache-couchdb/apache-couchdb.post-install index 4d3b841759..4bf99a46bb 100755 --- a/unmaintained/apache-couchdb/apache-couchdb.post-install +++ b/unmaintained/apache-couchdb/apache-couchdb.post-install @@ -1,4 +1,4 @@ #!/bin/sh addgroup -S couchdb &>/dev/null -adduser -S -h /var/run/couchdb -s /bin/false -G couchdb -D couchdb &>/dev/null +adduser -S -h /var/run/couchdb -s /bin/false -G couchdb -D -g couchdb couchdb &>/dev/null exit 0 diff --git a/unmaintained/ejabberd-git/ejabberd-git.pre-install b/unmaintained/ejabberd-git/ejabberd-git.pre-install index 6d80151653..d4cab3c0a6 100644 --- a/unmaintained/ejabberd-git/ejabberd-git.pre-install +++ b/unmaintained/ejabberd-git/ejabberd-git.pre-install @@ -1,3 +1,3 @@ #!/bin/sh -adduser -S -H -h /var/lib/ejabberd -G ejabberd -D ejabberd 2>/dev/null +adduser -S -H -h /var/lib/ejabberd -G ejabberd -D -g ejabberd ejabberd 2>/dev/null exit 0 diff --git a/unmaintained/kde-workspace/kde-workspace.pre-install b/unmaintained/kde-workspace/kde-workspace.pre-install index 84921ba86e..ef2e67148e 100644 --- a/unmaintained/kde-workspace/kde-workspace.pre-install +++ b/unmaintained/kde-workspace/kde-workspace.pre-install @@ -2,5 +2,5 @@ name=kdm addgroup -S $name 2>/dev/null -adduser -S -H -h /var/run/kdm -s /bin/false -D -G $name $name 2>/dev/null +adduser -S -H -h /var/run/kdm -s /bin/false -D -G $name -g $name $name 2>/dev/null exit 0 diff --git a/unmaintained/shadowircd/shadowircd.pre-install b/unmaintained/shadowircd/shadowircd.pre-install index f8d24e4d37..e05b5e5f0e 100644 --- a/unmaintained/shadowircd/shadowircd.pre-install +++ b/unmaintained/shadowircd/shadowircd.pre-install @@ -1,3 +1,3 @@ #!/bin/sh -adduser -S -h /var/run/shadowircd -s /bin/false -D ircd 2>/dev/null +adduser -S -h /var/run/shadowircd -s /bin/false -D -g ircd ircd 2>/dev/null exit 0 -- cgit v1.2.3