LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Skeleton directories for new users? (https://www.linuxquestions.org/questions/linux-newbie-8/skeleton-directories-for-new-users-174126/)

jungatheart 04-24-2004 03:33 PM

Skeleton directories for new users?
 
How can I make useradd automatically add specified directories or files to the home directory of newly created users?

Thank you.

david_ross 04-24-2004 03:35 PM

You should be able to alter the contents of /etc/skel - it will be used to decide on content for new home directories.

jungatheart 04-24-2004 03:44 PM

How about a script that will link a newly created directory (say /home/username/html) to a /var/www/localhost/htdocs/username directory?


All times are GMT -5. The time now is 05:46 AM.