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,,, --- main/nagios/nagios.pre-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/nagios/nagios.pre-install') diff --git a/main/nagios/nagios.pre-install b/main/nagios/nagios.pre-install index dad8a0eeaa..d9c0f3c9f4 100644 --- a/main/nagios/nagios.pre-install +++ b/main/nagios/nagios.pre-install @@ -1,5 +1,5 @@ #!/bin/sh addgroup -S nagios 2>/dev/null -adduser -S -G nagios -H -h /var/nagios -s /sbin/nologin nagios 2>/dev/null +adduser -S -G nagios -H -h /var/nagios -s /sbin/nologin -g nagios nagios 2>/dev/null exit 0 -- cgit v1.2.3