Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking for example additional configuration done on new user creation, the kind of stuff that goes beyond /etc/skel. For example, has anyone written a script to set public_html set-GUID?

share|improve this question

Here's a trivial script I wrote to change permissions, because adduser discards permissions when copying from /etc/skel.

# This script is executed at the end of adduser
# adduser.local USER UID GID HOME

chgrp www-data $4/public_html    
chmod g+s $4/public_html
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.