slackbuilds_ponce/network/netqmail/doinst_users
Duncan Roe 888ec031ac network/netqmail: Added (the qmail MTA).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2017-06-24 08:32:21 +07:00

18 lines
740 B
Text

grep -q ^nofiles: /etc/group ||
groupadd -g 340 nofiles
grep -q ^alias: /etc/passwd ||
useradd -r -g nofiles -d /var/qmail/alias -u 339 -s "" alias
grep -q ^qmaild: /etc/passwd ||
useradd -r -g nofiles -d /var/qmail -u 340 -s "" qmaild
grep -q ^qmaill: /etc/passwd ||
useradd -r -g nofiles -d /var/qmail -u 341 -s "" qmaill
grep -q ^qmailp: /etc/passwd ||
useradd -r -g nofiles -d /var/qmail -u 342 -s "" qmailp
grep -q ^qmail: /etc/group ||
groupadd -g 339 qmail
grep -q ^qmailq: /etc/passwd ||
useradd -r -g qmail -d /var/qmail -u 343 -s "" qmailq
grep -q ^qmailr: /etc/passwd ||
useradd -r -g qmail -d /var/qmail -u 344 -s "" qmailr
grep -q ^qmails: /etc/passwd ||
useradd -r -g qmail -d /var/qmail -u 345 -s "" qmails