Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 06-24-2003, 09:28 PM   #1
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
Old 06-24-2003, 09:32 PM   #2
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.



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 01:08 AM
HOW-TO? Create User, Set Password with script longtex SUSE / openSUSE 13 10-02-2005 02:35 PM
how do i create a script unimaginative Linux - General 6 01-01-2004 06:53 PM
How to create many by a script kelper Linux - General 11 09-24-2003 03:09 PM
Samba: how to create a logon script file when i add a system user. heero82 Linux - Software 2 06-19-2003 08:29 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:58 PM.

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