LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-24-2003, 10:28 PM   #1
kelper
Member
 
Registered: Jan 2003
Posts: 77

Rep: Reputation: 15
Cool Create user script


I'm using redhat 7.3
I want to create a new user and automatically create a
sub-folder to the /home/" "/public_html
how to do it for any script
thx
 
Old 06-24-2003, 10:32 PM   #2
green_dragon37
Member
 
Registered: Oct 2002
Location: Lower Alabama
Distribution: Slackware, OpenBSD 3.9
Posts: 344

Rep: Reputation: 31
If all that you want to do is have a directory and some files automatically created when you create any user, then you should put the files/directories in question in "/etc/skel/". The contents of "/etc/skel/" are automatically copied to the "/home/USER/" directory when you create a user.

Ian
 
  


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
user home dir doesn't create when new user add dev_mohamed Linux - Software 3 01-12-2007 02:08 AM
HOW-TO? Create User, Set Password with script longtex Suse/Novell 13 10-02-2005 03:35 PM
how do i create a script unimaginative Linux - General 6 01-01-2004 07:53 PM
How to create many by a script kelper Linux - General 11 09-24-2003 04:09 PM
Samba: how to create a logon script file when i add a system user. heero82 Linux - Software 2 06-19-2003 09:29 PM


All times are GMT -5. The time now is 03:02 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration