new directories for new users
Hi,
Im wondering about something,
When I create a new user with useradd or userdrake, I get a new user with a password and home directory. but also I get a file in /var/spool/mail/<username>
yesterday i used suse 9.3 for a while and i saw that when creating a new user i got the same stuff but already in the home directory there were other subdirectories like bin/http_docs and stuff like that.
the question i have now is the following. Where can i see and alter the things that happen when a user is created? Because i actually would like to have a predefined directory structure for every user.
So when i create a user <john>, i would like to have the following
a home directory /home/john with subdirectories bin, www, mail
i would like to have a file /var/spool/mail/john
i woul like to alter some files containing the users name (for example /etc/postfix/aliases)
and so on and so on
do i have to write a script for this, or can i just alter some configuration files?
thanks
klaas
|