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

8 lines
325 B
Plaintext
Raw Normal View History

2012-08-26 19:33:59 +00:00
#!/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'
2012-08-26 19:33:59 +00:00
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"