Add setup-boston-homedir and setup-boston-mailbox helper scripts for use after creating the LDAP account
parent
9f7c93c4ee
commit
66e067cf82
|
@ -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
|
|
@ -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/
|
||||
|
Loading…
Reference in New Issue