Commit 694ace84 authored by Przemysław Pawełczyk's avatar Przemysław Pawełczyk Committed by Natanael Copa
Browse files

Reorder options passed to addgroup in scripts: make -S first.

It's only for consistency and to ease spotting lack of it.
parent a49cde0f
#!/bin/sh
addgroup -g 82 -S www-data 2>/dev/null
addgroup -S -g 82 www-data 2>/dev/null
adduser -S -H -h /usr/share/webapps/redmine -s /bin/sh -D redmine 2>/dev/null
addgroup redmine www-data 2>/dev/null
......
#!/bin/sh
addgroup -g 82 -S www-data 2>/dev/null
addgroup -S -g 82 www-data 2>/dev/null
adduser -H -h /var/www -s /sbin/nologin -D apache 2>/dev/null
addgroup apache www-data 2>/dev/null
exit 0
#!/bin/sh
addgroup -g 82 -S www-data 2>/dev/null
addgroup -S -g 82 www-data 2>/dev/null
addgroup apache www-data 2>/dev/null
exit 0
#!/bin/sh
addgroup -g 82 -S www-data 2>/dev/null
addgroup -S -g 82 www-data 2>/dev/null
adduser -S -H -h /var/www/localhost/htdocs -s /sbin/nologin -D darkhttpd \
2>/dev/null
addgroup darkhttpd www-data 2>/dev/null
......
#!/bin/sh
addgroup -g 82 -S www-data 2>/dev/null
addgroup -S -g 82 www-data 2>/dev/null
adduser -H -h /var/www/localhost/htdocs -s /sbin/nologin -D lighttpd 2>/dev/null
addgroup lighttpd www-data 2>/dev/null
......
......@@ -7,7 +7,7 @@ if [ -f /etc/mini_httpd.conf ] && ! [ -L /etc/mini_httpd.conf ]; then
&& ln -s mini_httpd/mini_httpd.conf /etc/mini_httpd.conf
fi
addgroup -g 82 -S www-data 2>/dev/null
addgroup -S -g 82 www-data 2>/dev/null
adduser -S -H -h /var/www/localhost/htdocs -s /sbin/nologin \
-D minihttpd 2>/dev/null
addgroup minihttpd www-data 2>/dev/null
......
#!/bin/sh
addgroup -g 82 -S www-data 2>/dev/null
addgroup -S -g 82 www-data 2>/dev/null
addgroup -S nginx 2>/dev/null
adduser -S -G nginx -H -h /var/www/localhost/htdocs -s /sbin/nologin \
-D nginx 2>/dev/null
......
#!/bin/sh
getent group kvm >/dev/null || addgroup -g 34 -S kvm
getent group kvm >/dev/null || addgroup -S -g 34 kvm
#!/bin/sh
adduser -s /sbin/nologin -h /var/www -D -S -H h2o 2>/dev/null
addgroup -g 82 -S www-data 2>/dev/null
addgroup -S -g 82 www-data 2>/dev/null
addgroup h2o www-data 2>/dev/null
exit 0
#!/bin/sh
addgroup -g 82 -S www-data 2>/dev/null
addgroup -S -g 82 www-data 2>/dev/null
addgroup -S nginx 2>/dev/null
adduser -S -G nginx -H -h /var/www/localhost/htdocs -s /sbin/nologin \
-D nginx 2>/dev/null
......
#!/bin/sh
addgroup -g 82 -S www-data 2>/dev/null
addgroup -S -g 82 www-data 2>/dev/null
addgroup -S tengine 2>/dev/null
adduser -S -G tengine -H -h /var/www/localhost/htdocs -s /sbin/nologin \
-D tengine 2>/dev/null
......
#!/bin/sh
addgroup -g 82 -S www-data 2>/dev/null
addgroup -S -g 82 www-data 2>/dev/null
addgroup -S tengine 2>/dev/null
adduser -S -G tengine -H -h /var/www/localhost/htdocs -s /sbin/nologin \
-D tengine 2>/dev/null
......
#!/bin/sh
addgroup -g 82 -S www-data 2>/dev/null
addgroup -S -g 82 www-data 2>/dev/null
adduser -S -H -h /var/www/localhost/htdocs -s /sbin/nologin \
-D thttpd 2>/dev/null
addgroup thttpd www-data 2>/dev/null
#!/bin/sh
addgroup -g 82 -S www-data 2>/dev/null
addgroup -S -g 82 www-data 2>/dev/null
adduser -H -s /sbin/nologin -D wt 2>/dev/null
addgroup wt www-data 2>/dev/null
exit 0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment