2015-02-03 18:10:21 +00:00
|
|
|
#!/bin/bash
|
|
|
|
#% enable-boston-shell user
|
|
|
|
#% Give user shell access to boston-packets. User still needs a valid login shell.
|
2016-12-07 04:26:36 +00:00
|
|
|
add-user-to-group $1 'cn=boston-shell,ou=Group,dc=hackerspace,dc=pl'
|
2015-02-03 18:10:21 +00:00
|
|
|
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"
|