dot

packages and services management
Log | Files | Refs | README

commit 501b95d49c0a033a3a7b3088915b67d1eae72074
parent fc7cc3089312d231abeaa79a29d32da855670085
Author: Josuah Demangeon <mail@josuah.net>
Date:   Thu,  7 Jun 2018 00:54:27 +0200

import users from svdir

Diffstat:
Auser/collectd | 3+++
Auser/irc | 10++++++++++
Auser/mail | 10++++++++++
Auser/qmail | 12++++++++++++
Auser/tor | 3+++
Auser/u9fs | 3+++
Auser/venti | 3+++
7 files changed, 44 insertions(+), 0 deletions(-)

diff --git a/user/collectd b/user/collectd @@ -0,0 +1,3 @@ +#!/9/bin/rc -e + +user add -s /sbin/nologin -d /home/collectd collectd diff --git a/user/irc b/user/irc @@ -0,0 +1,10 @@ +#!/9/bin/rc -e + +user add -s /home/irc/attach -d /home/irc irc + +printf '#!/9/bin/rc -e +exec abduco -e '^]' -A irssi irssi -n josuah +' >/home/irc/attach + +chown irc /home/irc/attach +chmod +x /home/irc/attach diff --git a/user/mail b/user/mail @@ -0,0 +1,10 @@ +#!/9/bin/rc -e + +user add -s /home/mail/attach -d /home/mail mail + +printf '#!/9/bin/rc -e +' >/home/mail/attach + +chown mail /home/mail/attach +chmod +x /home/mail/attach +chown 600 /home/mail diff --git a/user/qmail b/user/qmail @@ -0,0 +1,12 @@ +#!/9/bin/rc + +group add nofiles +user add -g nofiles -d /home/qmail/alias -s `{whatis true} alias +user add -g nofiles -d /home/qmail -s `{whatis true} qmaild +user add -g nofiles -d /home/qmail -s `{whatis true} qmaill +user add -g nofiles -d /home/qmail -s `{whatis true} qmailp + +group add qmail +user add -g qmail -d /home/qmail -s `{whatis true} qmailq +user add -g qmail -d /home/qmail -s `{whatis true} qmailr +user add -g qmail -d /home/qmail -s `{whatis true} qmails diff --git a/user/tor b/user/tor @@ -0,0 +1,3 @@ +#!/9/bin/rc -e + +user add -d /home/tor tor diff --git a/user/u9fs b/user/u9fs @@ -0,0 +1,3 @@ +#!/9/bin/rc -e + +user add -d /home/u9fs u9fs diff --git a/user/venti b/user/venti @@ -0,0 +1,3 @@ +#!/9/bin/rc -e + +user add -d /home/venti venti