Guest User

Untitled

a guest
Feb 5th, 2012
53
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. adduser $i
  3. usermod -g sftponly $i
  4. usermod -s /bin/false $i
  5. chown root:root /home/$i
  6. mkdir /home/$i/public_html
  7. chown $i:admins /home/$i/public_html
  8. chmod 755 /home/$i/public_html
RAW Paste Data