dot

packages and services management
Log | Files | Refs | README

commit 759d5a1e2520c955b7882b0e8e937d1b9a7d10f8
parent e64bbf43c32c1c795adc9c78e1bbdc35c7b8132b
Author: Josuah Demangeon <mail@josuah.net>
Date:   Tue, 10 Apr 2018 01:31:45 +0200

separate user creation script

Then it gets obvious it adds user(s)

Diffstat:
Mpack/qmail/build | 12++----------
Apack/qmail/users | 11+++++++++++
2 files changed, 13 insertions(+), 10 deletions(-)

diff --git a/pack/qmail/build b/pack/qmail/build @@ -1,15 +1,5 @@ #!/bin/sh -ex -! groupadd nofiles -! useradd -g nofiles -d "$HOME/var/qmail/alias" alias -! useradd -g nofiles -d "$HOME/var/qmail" qmaild -! useradd -g nofiles -d "$HOME/var/qmail" qmaill -! useradd -g nofiles -d "$HOME/var/qmail" qmailp -! groupadd qmail -! useradd -g qmail -d "$HOME/var/qmail" qmailq -! useradd -g qmail -d "$HOME/var/qmail" qmailr -! useradd -g qmail -d "$HOME/var/qmail" qmails - echo gcc -O2 -include /usr/include/errno.h >conf-cc echo "$PREFIX/bin" >conf-bin echo "$PREFIX/share/man" >conf-man @@ -22,6 +12,8 @@ mkdir -p "$HOME/var/qmail" touch nroff chmod +x nroff +"$PACK/qmail/users" + make PATH="$PATH:$PWD" make setup diff --git a/pack/qmail/users b/pack/qmail/users @@ -0,0 +1,11 @@ +#!/bin/sh -x + +groupadd nofiles +useradd -g nofiles -d "$HOME/var/qmail/alias" alias +useradd -g nofiles -d "$HOME/var/qmail" qmaild +useradd -g nofiles -d "$HOME/var/qmail" qmaill +useradd -g nofiles -d "$HOME/var/qmail" qmailp +groupadd qmail +useradd -g qmail -d "$HOME/var/qmail" qmailq +useradd -g qmail -d "$HOME/var/qmail" qmailr +useradd -g qmail -d "$HOME/var/qmail" qmails