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

8 lines
325 B
Bash
Executable File

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