Commit 2a573734 authored by Przemysław Pawełczyk's avatar Przemysław Pawełczyk Committed by Natanael Copa

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

It's only for consistency and to ease spotting lack of it.
parent 694ace84
#!/bin/sh
addgroup -S smsd &>/dev/null
adduser -h /var/spool/sms -s /sbin/nologin -G smsd -S -D smsd &>/dev/null
adduser -S -h /var/spool/sms -s /sbin/nologin -G smsd -D smsd &>/dev/null
adduser -G uucp smsd &>/dev/null
exit 0
#!/bin/sh
addgroup -S sniproxy 2>/dev/null
adduser -h /var/log/sniproxy -s /bin/false -S -D sniproxy 2>/dev/null
adduser -S -h /var/log/sniproxy -s /bin/false -D sniproxy 2>/dev/null
exit 0
#!/bin/sh
addgroup amavis 2>/dev/null
adduser -D -S -G amavis -h /var/amavis -s /sbin/nologin amavis 2>/dev/null
adduser -S -D -G amavis -h /var/amavis -s /sbin/nologin amavis 2>/dev/null
exit 0
......@@ -2,10 +2,10 @@
addgroup -S -g 28 netdev 2>/dev/null
addgroup -S -g 86 avahi 2>/dev/null
adduser -u 86 \
adduser -S -u 86 \
-h /var/run/avahi-daemon \
-s /sbin/nologin \
-S -D -H \
-D -H \
-g "Avahi System User" \
-G avahi \
avahi 2>/dev/null
......
#!/bin/sh
addgroup -S backuppc &>/dev/null
adduser -h /var/lib/BackupPC -s /bin/sh -S -D -H -G backuppc -g "BackupPC user" backuppc &>/dev/null
adduser -S -h /var/lib/BackupPC -s /bin/sh -D -H -G backuppc -g "BackupPC user" backuppc &>/dev/null
exit 0
#!/bin/sh
addgroup -S bacula 2>/dev/null
adduser -h /var/lib/bacula/ -s /sbin/nologin -G bacula -S -D bacula 2>/dev/null
adduser -S -h /var/lib/bacula/ -s /sbin/nologin -G bacula -D bacula 2>/dev/null
exit 0
#!/bin/sh
addgroup -S bacula 2>/dev/null
adduser -h /var/lib/bacula/ -s /sbin/nologin -G bacula -S -D bacula 2>/dev/null
adduser -S -h /var/lib/bacula/ -s /sbin/nologin -G bacula -D bacula 2>/dev/null
exit 0
#!/bin/sh
adduser -h /var/run/charybdis -s /sbin/nologin -S -D ircd 2>/dev/null
adduser -S -h /var/run/charybdis -s /sbin/nologin -D ircd 2>/dev/null
exit 0
#!/bin/sh
adduser -h /var/lib/ircservices -s /sbin/nologin -S -D ircservices 2>/dev/null
adduser -S -h /var/lib/ircservices -s /sbin/nologin -D ircservices 2>/dev/null
exit 0
......@@ -2,7 +2,7 @@
addgroup -Sg 82 www-data 2>/dev/null
addgroup -S nginx 2>/dev/null
adduser -h /var/lib/nginx -g "nginx" -s /sbin/nologin -SDHG nginx nginx 2>/dev/null
adduser -S -h /var/lib/nginx -g "nginx" -s /sbin/nologin -DHG nginx nginx 2>/dev/null
addgroup nginx www-data 2>/dev/null
exit 0
#!/bin/sh
addgroup -S nsd 2>/dev/null
adduser -G nsd -S -H -h /var/db/nsd -s /sbin/nologin nsd 2>/dev/null
adduser -S -G nsd -H -h /var/db/nsd -s /sbin/nologin nsd 2>/dev/null
exit 0
#!/bin/sh
addgroup -S ntop 2>/dev/null
adduser -h /var/lib/ntop -s /sbin/nologin -S -G ntop -H -D ntop 2>/dev/null
adduser -S -h /var/lib/ntop -s /sbin/nologin -G ntop -H -D ntop 2>/dev/null
exit 0
#!/bin/sh
addgroup -S ldap 2>/dev/null
adduser -h /usr/lib/openldap -s /sbin/nologin -S -D -H -g "OpenLdap User" \
adduser -S -h /usr/lib/openldap -s /sbin/nologin -D -H -g "OpenLdap User" \
-G ldap ldap 2>/dev/null
exit 0
#!/bin/sh
adduser -D -S -H -h /var/empty -s /sbin/false opentracker 2>/dev/null
adduser -S -D -H -h /var/empty -s /sbin/false opentracker 2>/dev/null
exit 0
#!/bin/sh
addgroup -S perdition 2>/dev/null
adduser -h /var/run/perdition -s /sbin/nologin -S -G perdition -D perdition 2>/dev/null
adduser -S -h /var/run/perdition -s /sbin/nologin -G perdition -D perdition 2>/dev/null
exit 0
#!/bin/sh
addgroup sircbot 2>/dev/null
adduser -h /var/run/sircbot -G sircbot -S -D sircbot 2>/dev/null
adduser -S -h /var/run/sircbot -G sircbot -D sircbot 2>/dev/null
exit 0
#!/bin/sh
addgroup smokeping 2>/dev/null
adduser -h /var/lib/smokeping -S -D -G smokeping smokeping 2>/dev/null
adduser -S -h /var/lib/smokeping -D -G smokeping smokeping 2>/dev/null
exit 0
#!/bin/sh
adduser -h /var/spool/snmptt -s /sbin/nologin -S -D snmptt &>/dev/null
adduser -S -h /var/spool/snmptt -s /sbin/nologin -D snmptt &>/dev/null
exit 0
#!/bin/sh
addgroup -S umurmur &>/dev/null
adduser -s /bin/false -G umurmur -h /var/run/umurmurd -S -D umurmur &>/dev/null
adduser -S -s /bin/false -G umurmur -h /var/run/umurmurd -D umurmur &>/dev/null
exit 0
#!/bin/sh
adduser -D -S uvncrep 2>/dev/null
adduser -S -D uvncrep 2>/dev/null
exit 0
#!/bin/sh
addgroup ftp &>/dev/null
addgroup vsftp ftp &>/dev/null
adduser -h /var/lib/ftp -s /sbin/nologin -G ftp -S vsftp &>/dev/null
adduser -S -h /var/lib/ftp -s /sbin/nologin -G ftp vsftp &>/dev/null
exit 0
......@@ -2,6 +2,6 @@
# Create consul group and user
addgroup -S consul 2> /dev/null
adduser -h /var/consul -s /sbin/nologin -G consul -S -D consul 2> /dev/null
adduser -S -h /var/consul -s /sbin/nologin -G consul -D consul 2> /dev/null
exit 0
#!/bin/sh
addgroup -S qtss &>/dev/null
adduser -s /bin/false -G qtss -h /var/darwinstreaming -S -D qtss &>/dev/null
adduser -S -s /bin/false -G qtss -h /var/darwinstreaming -D qtss &>/dev/null
exit 0
#!/bin/sh
addgroup elastico
adduser -h /var/lib/elasticsearch -s /sbin/nologin -G elastico \
-g "added by apk for elasticsearch" -SDH elastico
adduser -S -h /var/lib/elasticsearch -s /sbin/nologin -G elastico \
-g "added by apk for elasticsearch" -DH elastico
exit 0
#!/bin/sh
addgroup -S exim 2>/dev/null
adduser -h /var/spool/exim -g "exim" -s /sbin/nologin -SDHG exim exim 2>/dev/null
adduser -S -h /var/spool/exim -g "exim" -s /sbin/nologin -DHG exim exim 2>/dev/null
adduser exim mail 2>/dev/null
exit 0
#!/bin/sh
adduser -s /sbin/nologin -h /var/www -D -S -H h2o 2>/dev/null
adduser -S -s /sbin/nologin -h /var/www -D -H h2o 2>/dev/null
addgroup -S -g 82 www-data 2>/dev/null
addgroup h2o www-data 2>/dev/null
......
#!/bin/sh
addgroup -S knot 2>/dev/null
adduser -s /sbin/nologin -G knot -S -D -H knot 2>/dev/null
adduser -S -s /sbin/nologin -G knot -D -H knot 2>/dev/null
exit 0
#!/bin/sh
adduser -h /usr/share/logstash -s /sbin/nologin -S -D -H -g "Logstash User" \
adduser -S -h /usr/share/logstash -s /sbin/nologin -D -H -g "Logstash User" \
-G daemon logstash 2>/dev/null
exit 0
#!/bin/sh
addgroup -S ntop 2>/dev/null
adduser -h /var/lib/ntop -s /sbin/nologin -S -G ntop -H -D ntop 2>/dev/null
adduser -S -h /var/lib/ntop -s /sbin/nologin -G ntop -H -D ntop 2>/dev/null
exit 0
#!/bin/sh
addgroup openxcap 2>/dev/null
adduser -G openxcap -h /var/run/openxcap -s /bin/false -S -D -H openxcap 2>/dev/null
adduser -S -G openxcap -h /var/run/openxcap -s /bin/false -D -H openxcap 2>/dev/null
exit 0
#!/bin/sh
addgroup -S rmilter 2>dev/null
adduser -h /run/rmilter -g "rmilter" -s /bin/false -SDHG rmilter rmilter 2>/dev/null
adduser -S -h /run/rmilter -g "rmilter" -s /bin/false -DHG rmilter rmilter 2>/dev/null
exit 0
#!/bin/sh
addgroup -S rspamd 2>/dev/null
adduser -h /var/lib/rspamd -g "rspamd" -s /bin/false -SDHG rspamd rspamd 2>/dev/null
adduser -S -h /var/lib/rspamd -g "rspamd" -s /bin/false -DHG rspamd rspamd 2>/dev/null
exit 0
#!/bin/sh
adduser -h /var/run/tor -s /sbin/nologin -S -D tor 2>/dev/null
adduser -S -h /var/run/tor -s /sbin/nologin -D tor 2>/dev/null
exit 0
#!/bin/sh
addgroup -S couchdb &>/dev/null
adduser -h /var/run/couchdb -s /bin/false -G couchdb -S -D couchdb &>/dev/null
adduser -S -h /var/run/couchdb -s /bin/false -G couchdb -D couchdb &>/dev/null
exit 0
#!/bin/sh
adduser -h /var/run/shadowircd -s /bin/false -S -D ircd 2>/dev/null
adduser -S -h /var/run/shadowircd -s /bin/false -D ircd 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