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,,, --- testing/gogs/gogs.pre-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing/gogs/gogs.pre-install') diff --git a/testing/gogs/gogs.pre-install b/testing/gogs/gogs.pre-install index 981a379b00..1596d65693 100644 --- a/testing/gogs/gogs.pre-install +++ b/testing/gogs/gogs.pre-install @@ -1,4 +1,4 @@ #!/bin/sh -adduser -S -h /var/lib/gogs -s /bin/ash -G www-data -D gogs 2>/dev/null || true +adduser -S -h /var/lib/gogs -s /bin/ash -G www-data -D -g gogs gogs 2>/dev/null || true passwd -u gogs || true -- cgit v1.2.3