diff --git a/bin/setup-boston-homedir b/bin/setup-boston-homedir new file mode 100755 index 0000000..a9f67c2 --- /dev/null +++ b/bin/setup-boston-homedir @@ -0,0 +1,5 @@ +#!/bin/bash +#% setup-boston-homedir user +#% Sets up the local homedir on boston-packets. Has to be run on boston-packets, obviously. +cp -R /etc/skel /home/$1 +chown $1:$1 /home/$1 -R diff --git a/bin/setup-boston-mailbox b/bin/setup-boston-mailbox new file mode 100755 index 0000000..954204c --- /dev/null +++ b/bin/setup-boston-mailbox @@ -0,0 +1,6 @@ +#!/bin/bash +#% setup-boston-mailbox user +#% Sets up the local mailbox on boston-packets. Has to be run on boston-packets, obviously. +mkdir /var/spool/mail/$1 +chown $1:mail /var/spool/mail/ +