From b41130b533c91fcf6d73fe5a1760abf273fb0eea Mon Sep 17 00:00:00 2001 From: Markus Makela Date: Tue, 12 May 2015 08:11:10 +0300 Subject: [PATCH] Fixed the useradd command in the postinst script having he command line arguments in the wrong order. --- etc/postinst.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/postinst.in b/etc/postinst.in index 8d81907ed..e04a34f5f 100755 --- a/etc/postinst.in +++ b/etc/postinst.in @@ -15,7 +15,7 @@ mkdir -p @MAXSCALE_VARDIR@/run/maxscale # Create MaxScale user if [ -f "/etc/passwd" -a "$(grep -c 'maxscale' /etc/passwd)" -eq 0 ] then - useradd -s -r /bin/false maxscale + useradd -r -s /bin/false maxscale groupadd maxscale fi