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

Add -g option (GECOS/comment) to adduser in scripts.

This way we can avoid ugly default:

    Linux user,,,
parent ccc056db
#!/bin/sh
adduser -S -h /var/lib/caddy -D -s /sbin/nologin caddy 2>/dev/null
adduser -S -h /var/lib/caddy -D -s /sbin/nologin -g caddy caddy 2>/dev/null
adduser caddy www-data 2>/dev/null
exit 0
#!/bin/sh
addgroup -S docker-registry 2>/dev/null
adduser -S -H -h /dev/null -s /sbin/nologin -D -G docker-registry docker-registry 2>/dev/null
adduser -S -H -h /dev/null -s /sbin/nologin -D -G docker-registry -g docker-registry docker-registry 2>/dev/null
exit 0
#!/bin/sh
adduser -S -h /var/lib/domoticz -D -s /sbin/nologin domoticz 2>/dev/null
adduser -S -h /var/lib/domoticz -D -s /sbin/nologin -g domoticz domoticz 2>/dev/null
exit 0
#!/bin/sh
addgroup -S icinga 2>/dev/null
addgroup -S icingacmd 2>/dev/null
adduser -S -G icinga -H -h /var/spool/icinga2 -s /sbin/nologin -D icinga 2>/dev/null
adduser -S -G icinga -H -h /var/spool/icinga2 -s /sbin/nologin -D -g icinga icinga 2>/dev/null
adduser icinga icingacmd 2>/dev/null 2>/dev/null
exit 0
#!/bin/sh
adduser -S -s /sbin/nologin -D -h /var/lib/minetest minetest games 2>/dev/null
adduser -S -s /sbin/nologin -D -h /var/lib/minetest -g minetest minetest games 2>/dev/null
exit 0
#!/bin/sh
adduser -S -H -D -s /sbin/nologin oscam 2>/dev/null
adduser -S -H -D -s /sbin/nologin -g oscam oscam 2>/dev/null
addgroup oscam usb 2>/dev/null
exit 0
#!/bin/sh
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
adduser -S -H -h /usr/share/webapps/redmine -s /bin/sh -D -g redmine redmine 2>/dev/null
addgroup redmine www-data 2>/dev/null
exit 0
#!/bin/sh
addgroup -S smsd &>/dev/null
adduser -S -h /var/spool/sms -s /sbin/nologin -G smsd -D smsd &>/dev/null
adduser -S -h /var/spool/sms -s /sbin/nologin -G smsd -D -g smsd smsd &>/dev/null
adduser -G uucp smsd &>/dev/null
exit 0
#!/bin/sh
addgroup -S sniproxy 2>/dev/null
adduser -S -h /var/log/sniproxy -s /bin/false -D sniproxy 2>/dev/null
adduser -S -h /var/log/sniproxy -s /bin/false -D -g sniproxy sniproxy 2>/dev/null
exit 0
#!/bin/sh
adduser -S -H -h /var/lib/syncthing -s /sbin/nologin -D syncthing 2>/dev/null
adduser -S -H -h /var/lib/syncthing -s /sbin/nologin -D -g syncthing syncthing 2>/dev/null
exit 0
#!/bin/sh
adduser -S -G video -s /sbin/nologin -H -h /usr/share/tvheadend tvheadend 2>/dev/null
adduser -S -G video -s /sbin/nologin -H -h /usr/share/tvheadend -g tvheadend tvheadend 2>/dev/null
addgroup tvheadend usb 2>/dev/null
exit 0
#!/bin/sh
addgroup -S amavis 2>/dev/null
adduser -S -D -G amavis -h /var/amavis -s /sbin/nologin amavis 2>/dev/null
adduser -S -D -G amavis -h /var/amavis -s /sbin/nologin -g amavis amavis 2>/dev/null
exit 0
#!/bin/sh
addgroup -S -g 82 www-data 2>/dev/null
adduser -S -H -h /var/www -s /sbin/nologin -D apache 2>/dev/null
adduser -S -H -h /var/www -s /sbin/nologin -D -g apache apache 2>/dev/null
addgroup apache www-data 2>/dev/null
exit 0
#!/bin/sh
adduser -S -D buildozer -s /bin/sh 2>/dev/null
adduser -S -D -g buildozer buildozer -s /bin/sh 2>/dev/null
exit 0
#!/bin/sh
adduser -S -H -s /sbin/nologin -D arpwatch 2>/dev/null
adduser -S -H -s /sbin/nologin -D -g arpwatch arpwatch 2>/dev/null
exit 0
#!/bin/sh
adduser -S -h /var/lib/asterisk -s /sbin/nologin -D asterisk 2>/dev/null
adduser -S -h /var/lib/asterisk -s /sbin/nologin -D -g asterisk asterisk 2>/dev/null
addgroup -S dialout 2>/dev/null
addgroup asterisk dialout 2>/dev/null
exit 0
#!/bin/sh
adduser -S -h /var/lib/asterisk -s /bin/false -D asterisk 2>/dev/null
adduser -S -h /var/lib/asterisk -s /bin/false -D -g asterisk asterisk 2>/dev/null
addgroup -S dialout 2>/dev/null
addgroup asterisk dialout 2>/dev/null
exit 0
#!/bin/sh
addgroup -S bacula 2>/dev/null
adduser -S -h /var/lib/bacula/ -s /sbin/nologin -G bacula -D bacula 2>/dev/null
adduser -S -h /var/lib/bacula/ -s /sbin/nologin -G bacula -D -g bacula bacula 2>/dev/null
exit 0
#!/bin/sh
addgroup -S bacula 2>/dev/null
adduser -S -h /var/lib/bacula/ -s /sbin/nologin -G bacula -D bacula 2>/dev/null
adduser -S -h /var/lib/bacula/ -s /sbin/nologin -G bacula -D -g bacula bacula 2>/dev/null
exit 0
#!/bin/sh
addgroup -S named 2>/dev/null
adduser -S -h /etc/bind -s /sbin/nologin -G named -D named 2>/dev/null
adduser -S -h /etc/bind -s /sbin/nologin -G named -D -g named named 2>/dev/null
exit 0
#!/bin/sh
adduser -S -h /var/run/charybdis -s /sbin/nologin -D ircd 2>/dev/null
adduser -S -h /var/run/charybdis -s /sbin/nologin -D -g ircd ircd 2>/dev/null
exit 0
#!/bin/sh
addgroup -S chrony 2>/dev/null
adduser -S -G chrony -h /var/log/chrony -s /sbin/nologin -D chrony 2>/dev/null
adduser -S -G chrony -h /var/log/chrony -s /sbin/nologin -D -g chrony chrony 2>/dev/null
exit 0
#!/bin/sh
addgroup -S clamav 2>/dev/null
adduser -S -h /var/lib/clamav -H -s /sbin/nologin -D -G clamav clamav 2>/dev/null
adduser -S -h /var/lib/clamav -H -s /sbin/nologin -D -G clamav -g clamav clamav 2>/dev/null
exit 0
#!/bin/sh
adduser -S -H -s /sbin/nologin -D clamav 2>/dev/null
adduser -S -H -s /sbin/nologin -D -g clamav clamav 2>/dev/null
exit 0
#!/bin/sh
addgroup -S clamav 2>/dev/null
adduser -S -h /var/lib/clamav -H -s /sbin/nologin -D -G clamav clamav 2>/dev/null
adduser -S -h /var/lib/clamav -H -s /sbin/nologin -D -G clamav -g clamav clamav 2>/dev/null
exit 0
#!/bin/sh
adduser -S -H -s /sbin/nologin -D clamav 2>/dev/null
adduser -S -H -s /sbin/nologin -D -g clamav clamav 2>/dev/null
exit 0
......@@ -10,5 +10,5 @@ if [ -f "$old" ] && [ ! -f "$new" ]; then
echo " *"
fi
adduser -S -H -s /bin/false -D clamav 2>/dev/null
adduser -S -H -s /bin/false -D -g clamav clamav 2>/dev/null
exit 0
#!/bin/sh
adduser -S -H -s /sbin/nologin -D chilli 2>/dev/null
adduser -S -H -s /sbin/nologin -D -g chilli chilli 2>/dev/null
exit 0
......@@ -2,6 +2,6 @@
addgroup -S lpadmin 2>/dev/null
addgroup -S lp 2>/dev/null
adduser -S -G lp lp 2>/dev/null
adduser -S -G lp -g lp lp 2>/dev/null
addgroup lp lp 2>/dev/null
exit 0
#!/bin/sh
addgroup -S cvechecker &>/dev/null
adduser -S cvechecker -h /var/cvechecker -DG cvechecker &>/dev/null
adduser -S -g cvechecker cvechecker -h /var/cvechecker -DG cvechecker &>/dev/null
......@@ -5,5 +5,6 @@ adduser -S -D -H \
-h /var/log/dansguardian \
-s /sbin/nologin \
-G dansguar \
-g dansguar \
dansguar 2>/dev/null || true
#!/bin/sh
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
adduser -S -H -h /var/www/localhost/htdocs -s /sbin/nologin -D -g darkhttpd \
darkhttpd 2>/dev/null
addgroup darkhttpd www-data 2>/dev/null
exit 0
#!/bin/sh
addgroup -S messagebus 2>/dev/null
adduser -S -H -h /dev/null -s /sbin/nologin -D messagebus -G messagebus 2>/dev/null
adduser -S -H -h /dev/null -s /sbin/nologin -D -g messagebus messagebus -G messagebus 2>/dev/null
exit 0
#!/bin/sh
adduser -S -h /var/lib/dhcp -s /sbin/nologin -D dhcp 2>/dev/null
adduser -S -h /var/lib/dhcp -s /sbin/nologin -D -g dhcp dhcp 2>/dev/null
exit 0
#!/bin/sh
addgroup -S distcc 2>/dev/null
adduser -S -H -h /dev/null -s /sbin/nologin -G distcc -D distcc 2>/dev/null
adduser -S -H -h /dev/null -s /sbin/nologin -G distcc -D -g distcc distcc 2>/dev/null
exit 0
#!/bin/sh
addgroup -S dnsmasq 2>/dev/null
adduser -S -H -h /dev/null -s /sbin/nologin -G dnsmasq -D dnsmasq 2>/dev/null
adduser -S -H -h /dev/null -s /sbin/nologin -G dnsmasq -D -g dnsmasq dnsmasq 2>/dev/null
exit 0
#!/bin/sh
adduser -S -u 90 -H -h /dev/null -s /sbin/nologin -D dovecot 2>/dev/null
adduser -S -u 91 -H -h /dev/null -s /sbin/nologin -D dovenull 2>/dev/null
adduser -S -u 90 -H -h /dev/null -s /sbin/nologin -D -g dovecot dovecot 2>/dev/null
adduser -S -u 91 -H -h /dev/null -s /sbin/nologin -D -g dovenull dovenull 2>/dev/null
exit 0
#!/bin/sh
adduser -S -h /var/lib/ez-ipupdate -s /sbin/nologin -D ipupdate 2>/dev/null
adduser -S -h /var/lib/ez-ipupdate -s /sbin/nologin -D -g ipupdate ipupdate 2>/dev/null
exit 0
#!/bin/sh
adduser -S -H -h /var/lib/fetchmail -s /sbin/nologin -D fetchmail 2>/dev/null
adduser -S -H -h /var/lib/fetchmail -s /sbin/nologin -D -g fetchmail fetchmail 2>/dev/null
exit 0
#!/bin/sh
addgroup -S radius 2>/dev/null
adduser -S -G radius -h /var/log/radius -s /sbin/nologin -D radius 2>/dev/null
adduser -S -G radius -h /var/log/radius -s /sbin/nologin -D -g radius radius 2>/dev/null
exit 0
#!/bin/sh
adduser -S -H -h /var/run/freeswitch -s /sbin/nologin -D freeswitch 2>/dev/null
adduser -S -H -h /var/run/freeswitch -s /sbin/nologin -D -g freeswitch freeswitch 2>/dev/null
exit 0
#!/bin/sh
addgroup -S gdnsd 2>/dev/null
adduser -S -H -h /dev/null -s /sbin/nologin -D -G gdnsd gdnsd 2>/dev/null
adduser -S -H -h /dev/null -s /sbin/nologin -D -G gdnsd -g gdnsd gdnsd 2>/dev/null
exit 0
#!/bin/sh
adduser -S -H -h /var/lib/git -s /bin/sh -D git 2>/dev/null
adduser -S -H -h /var/lib/git -s /bin/sh -D -g git git 2>/dev/null
exit 0
#!/bin/sh
adduser -S -h /var/lib/gnatsdb -D gnats 2>/dev/null
adduser -S -h /var/lib/gnatsdb -D -g gnats gnats 2>/dev/null
exit 0
#!/bin/sh
adduser -S -H -s /sbin/nologin -D gross 2>/dev/null
adduser -S -H -s /sbin/nologin -D -g gross gross 2>/dev/null
exit 0
......@@ -2,7 +2,7 @@
addgroup -S haproxy 2>/dev/null
adduser -S -H -h /var/lib/haproxy -s /bin/false -D \
-G haproxy haproxy 2>/dev/null
-G haproxy -g haproxy haproxy 2>/dev/null
# move config to new location
if [ -e /etc/haproxy.cfg ] && ! [ -e /etc/haproxy/haproxy.cfg ]; then
......
......@@ -2,7 +2,7 @@
addgroup -S haproxy 2>/dev/null
adduser -S -H -h /var/lib/haproxy -s /bin/false -D \
-G haproxy haproxy 2>/dev/null
-G haproxy -g haproxy haproxy 2>/dev/null
# move config to new location
if [ -e /etc/haproxy.cfg ] && ! [ -e /etc/haproxy/haproxy.cfg ]; then
......
#!/bin/sh
adduser -S -h /var/log/icecast -s /sbin/nologin -D icecast 2>/dev/null
adduser -S -h /var/log/icecast -s /sbin/nologin -D -g icecast icecast 2>/dev/null
exit 0
#!/bin/sh
adduser -S -h /var/lib/ircservices -s /sbin/nologin -D ircservices 2>/dev/null
adduser -S -h /var/lib/ircservices -s /sbin/nologin -D -g ircservices ircservices 2>/dev/null
exit 0
#!/bin/sh
addgroup -S kamailio 2>/dev/null
adduser -S -H -h /var/empty -s /sbin/nologin -D -G kamailio kamailio 2>/dev/null
adduser -S -H -h /var/empty -s /sbin/nologin -D -G kamailio -g kamailio kamailio 2>/dev/null
exit 0
#!/bin/sh
addgroup -S -g 82 www-data 2>/dev/null
adduser -S -H -h /var/www/localhost/htdocs -s /sbin/nologin -D lighttpd 2>/dev/null
adduser -S -H -h /var/www/localhost/htdocs -s /sbin/nologin -D -g lighttpd lighttpd 2>/dev/null
addgroup lighttpd www-data 2>/dev/null
exit 0
#!/bin/sh
addgroup -S logcheck 2>/dev/null
adduser -S -H -h /dev/null -s /sbin/nologin -D -G logcheck logcheck 2>/dev/null
adduser -S -H -h /dev/null -s /sbin/nologin -D -G logcheck -g logcheck logcheck 2>/dev/null
exit 0
#!/bin/sh
addgroup -S mysql 2>/dev/null
adduser -S -h /var/lib/mysql -s /sbin/nologin -G mysql -D mysql 2>/dev/null
adduser -S -h /var/lib/mysql -s /sbin/nologin -G mysql -D -g mysql mysql 2>/dev/null
exit 0
#!/bin/sh
adduser -S -H -s /sbin/nologin -D memcached 2>/dev/null
adduser -S -H -s /sbin/nologin -D -g memcached memcached 2>/dev/null
exit 0
......@@ -9,7 +9,7 @@ fi
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
-D -g minihttpd minihttpd 2>/dev/null
addgroup minihttpd www-data 2>/dev/null
exit 0
......@@ -2,5 +2,5 @@
addgroup -S minidlna 2>/dev/null
adduser -S -H -h /var/run/minidlna -s /sbin/nologin -D -G minidlna \
minidlna 2>/dev/null
-g minidlna minidlna 2>/dev/null
exit 0
#!/bin/sh
addgroup -S mlmmj 2>/dev/null
adduser -S -H -h /var/spool/mlmmj -s /sbin/nologin -D -G mlmmj mlmmj 2>/dev/null
adduser -S -H -h /var/spool/mlmmj -s /sbin/nologin -D -G mlmmj -g mlmmj mlmmj 2>/dev/null
exit 0
#!/bin/sh
addgroup -S mosquitto 2>/dev/null
adduser -S -H -h /var/empty -s /sbin/nologin -D -G mosquitto mosquitto 2>/dev/null
adduser -S -H -h /var/empty -s /sbin/nologin -D -G mosquitto -g mosquitto mosquitto 2>/dev/null
exit 0
#!/bin/sh
adduser -S -h /var/lib/mpd -s /sbin/nologin -G audio -D mpd 2>/dev/null || true
adduser -S -h /var/lib/mpd -s /sbin/nologin -G audio -D -g mpd mpd 2>/dev/null || true
#!/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
......@@ -3,7 +3,7 @@
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
-D -g nginx nginx 2>/dev/null
addgroup nginx www-data 2>/dev/null
exit 0
#!/bin/sh
adduser -S -H -h /etc/ngircd -s /sbin/nologin -D ngircd 2>/dev/null
adduser -S -H -h /etc/ngircd -s /sbin/nologin -D -g ngircd ngircd 2>/dev/null
exit 0
#!/bin/sh
adduser -S -H -h /dev/null -s /sbin/nologin -D nagios 2>/dev/null
adduser -S -H -h /dev/null -s /sbin/nologin -D -g nagios nagios 2>/dev/null
addgroup -S nagios 2>/dev/null
exit 0
#!/bin/sh
addgroup -S nsd 2>/dev/null
adduser -S -G nsd -H -h /var/db/nsd -s /sbin/nologin nsd 2>/dev/null
adduser -S -G nsd -H -h /var/db/nsd -s /sbin/nologin -g nsd nsd 2>/dev/null
exit 0
......@@ -5,5 +5,5 @@ groupname=$username
addgroup -S $username 2>/dev/null
adduser -S -H -h /var/run/$username -s /sbin/nologin -D -G $groupname \
$username 2>/dev/null
-g $username $username 2>/dev/null
exit 0
#!/bin/sh
addgroup -S ntop 2>/dev/null
adduser -S -h /var/lib/ntop -s /sbin/nologin -G ntop -H -D ntop 2>/dev/null
adduser -S -h /var/lib/ntop -s /sbin/nologin -G ntop -H -D -g ntop ntop 2>/dev/null
exit 0
......@@ -2,6 +2,6 @@
# this user should be included in alpine-baselayout-1.2.
# included here for backward compability.
adduser -S -H -h /var/empty -s /sbin/nologin -D ntp 2>/dev/null
adduser -S -H -h /var/empty -s /sbin/nologin -D -g ntp ntp 2>/dev/null
exit 0
#!/bin/sh
adduser -S -D -H -h /var/empty -s /sbin/false opentracker 2>/dev/null
adduser -S -D -H -h /var/empty -s /sbin/false -g opentracker opentracker 2>/dev/null
exit 0
#!/bin/sh
addgroup -S openvpn 2>/dev/null
adduser -S -H -h /dev/null -s /sbin/nologin -D -G openvpn openvpn 2>/dev/null
adduser -S -H -h /dev/null -s /sbin/nologin -D -G openvpn -g openvpn openvpn 2>/dev/null
exit 0
......@@ -5,5 +5,5 @@ groupname=$username
addgroup -S $username 2>/dev/null
adduser -S -H -h /var/run/$username -s /sbin/nologin -D -G $groupname \
$username 2>/dev/null
-g $username $username 2>/dev/null
exit 0
#!/bin/sh
adduser -S -H -h /var/cache/pdnsd -s /sbin/nologin pdnsd 2>/dev/null
adduser -S -H -h /var/cache/pdnsd -s /sbin/nologin -g pdnsd pdnsd 2>/dev/null
exit 0
#!/bin/sh
addgroup -S perdition 2>/dev/null
adduser -S -h /var/run/perdition -s /sbin/nologin -G perdition -D perdition 2>/dev/null
adduser -S -h /var/run/perdition -s /sbin/nologin -G perdition -D -g perdition perdition 2>/dev/null
exit 0
......@@ -2,9 +2,9 @@
addgroup -S postfix 2>/dev/null
addgroup -S postdrop 2>/dev/null
adduser -S -h /var/spool/postfix -G postfix postfix 2>/dev/null
adduser -S -h /var/spool/postfix -G postfix -g postfix postfix 2>/dev/null
addgroup postfix mail 2>/dev/null
adduser -S -H -s /sbin/nologin -h /var/mail/domains -G postdrop vmail 2>/dev/null
adduser -S -H -s /sbin/nologin -h /var/mail/domains -G postdrop -g vmail vmail 2>/dev/null
exit 0
#!/bin/sh
addgroup -S postgrey 2>/dev/null
adduser -S -H -h /dev/null -s /sbin/nologin -D postgrey 2>/dev/null
adduser -S -H -h /dev/null -s /sbin/nologin -D -g postgrey postgrey 2>/dev/null
exit 0
#!/bin/sh
addgroup -S privoxy 2>/dev/null
adduser -S -G privoxy -h /var/log/privoxy -s /sbin/nologin -D privoxy 2>/dev/null
adduser -S -G privoxy -h /var/log/privoxy -s /sbin/nologin -D -g privoxy privoxy 2>/dev/null
exit 0
#!/bin/sh
addgroup -S quagga 2>/dev/null
adduser -S -h /var/run/quagga -s /sbin/nologin -D -G quagga quagga 2>/dev/null
adduser -S -h /var/run/quagga -s /sbin/nologin -D -G quagga -g quagga quagga 2>/dev/null
exit 0
#!/bin/sh
addgroup -S quagga 2>/dev/null
adduser -S -h /var/run/quagga -s /sbin/nologin -D -G quagga quagga 2>/dev/null
adduser -S -h /var/run/quagga -s /sbin/nologin -D -G quagga -g quagga quagga 2>/dev/null
exit 0
#!/bin/sh
adduser -S -h /var/lib/quassel -s /sbin/nologin -D quassel 2>/dev/null
adduser -S -h /var/lib/quassel -s /sbin/nologin -D -g quassel quassel 2>/dev/null
addgroup -S quassel 2>/dev/null
addgroup quassel quassel
......
#!/bin/sh
addgroup -S redis 2>/dev/null
adduser -S -H -h /var/lib/redis -s /bin/false -D -G redis redis 2>/dev/null
adduser -S -H -h /var/lib/redis -s /bin/false -D -G redis -g redis redis 2>/dev/null
exit 0
#!/bin/sh
addgroup -S rpc 2>/dev/null
adduser -S -h /var/lib/rpcbind -s /sbin/nologin -D -G rpc rpc 2>/dev/null
adduser -S -h /var/lib/rpcbind -s /sbin/nologin -D -G rpc -g rpc rpc 2>/dev/null
exit 0
#!/bin/sh
addgroup -S rtnppd 2>/dev/null
adduser -S -G rtnppd -H -h /var/run/rtnppd -s /sbin/nologin rtnppd 2>/dev/null
adduser -S -G rtnppd -H -h /var/run/rtnppd -s /sbin/nologin -g rtnppd rtnppd 2>/dev/null
exit 0
#!/bin/sh
addgroup -S rtpproxy 2>/dev/null
adduser -S -G rtpproxy -H -h /usr/share/rtpproxy -s /sbin/nologin rtpproxy 2>/dev/null
adduser -S -G rtpproxy -H -h /usr/share/rtpproxy -s /sbin/nologin -g rtpproxy rtpproxy 2>/dev/null
exit 0
......@@ -4,7 +4,7 @@ if ! getent group sems >/dev/null; then
addgroup -S sems
fi
if ! getent passwd sems >/dev/null; then
adduser -S -H -h /var/empty -s /sbin/nologin -D -G sems sems 2>/dev/null
adduser -S -H -h /var/empty -s /sbin/nologin -D -G sems -g sems sems 2>/dev/null
fi
exit 0
#!/bin/sh
addgroup -S sircbot 2>/dev/null
adduser -S -h /var/run/sircbot -G sircbot -D sircbot 2>/dev/null
adduser -S -h /var/run/sircbot -G sircbot -D -g sircbot sircbot 2>/dev/null
exit 0
#!/bin/sh
addgroup -S smokeping 2>/dev/null
adduser -S -h /var/lib/smokeping -D -G smokeping smokeping 2>/dev/null
adduser -S -h /var/lib/smokeping -D -G smokeping -g smokeping smokeping 2>/dev/null
exit 0