4
0
Fork 0
ldap-admin/bin/enable-boston-shell

8 lines
333 B
Bash
Executable File

#!/bin/bash
#% enable-boston-shell user
#% Give user shell access to boston-packets. User still needs a valid login shell.
add-user-to-group $1 'cn=boston-shell,ou=Group,dc=hackerspace,dc=pl'
msg "A home directory on boston-packets is needed for $1."
msg "You can create it by running:"
msg " [itanic ~ #] cp -R /etc/skel /home/$1"