LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-24-2004, 04:33 PM   #1
jungatheart
LQ Newbie
 
Registered: Apr 2004
Location: sunny southern california
Distribution: gentoo
Posts: 10

Rep: Reputation: 0
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.
 
Old 04-24-2004, 04:35 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
You should be able to alter the contents of /etc/skel - it will be used to decide on content for new home directories.
 
Old 04-24-2004, 04:44 PM   #3
jungatheart
LQ Newbie
 
Registered: Apr 2004
Location: sunny southern california
Distribution: gentoo
Posts: 10

Original Poster
Rep: Reputation: 0
How about a script that will link a newly created directory (say /home/username/html) to a /var/www/localhost/htdocs/username directory?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
new directories for new users kvtournh Mandriva 1 09-07-2005 11:07 AM
securing users to certain directories ? lozza1978 Linux - Newbie 2 05-09-2005 11:04 PM
Restrict Directories to users with SSH aeruzcar Linux - General 5 09-11-2003 04:28 PM
Enter other users' directories MasterC Linux - General 14 11-27-2002 01:57 AM
How to backup directories used by several users? J_Szucs Linux - Software 3 05-08-2002 02:48 PM


All times are GMT -5. The time now is 12:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration