LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 01-25-2003, 02:04 PM   #1
Joshsawyer77
LQ Newbie
 
Registered: Dec 2002
Location: Milwaukee
Distribution: Mandrake
Posts: 22

Rep: Reputation: 15
Adding default Dir to New user Accounts


I would like to create default dir when I add a new user to my system. ex... /home/usrname/public_html,
 
Old 01-25-2003, 02:12 PM   #2
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
I'm not being funny here - this is not an RTFM, but have a quick look at the man page for adduser:

man adduser

it's the -d option I think.

Bert
 
Old 01-25-2003, 02:38 PM   #3
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
Update your profile and add your distro. Or add it to every new post.

If you want to add this dir to all new users created from this point on, add the dir to /etc/skel.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba 3.0 as PDC - adding computer accounts help bburnham1141 Linux - Networking 7 05-07-2009 07:22 PM
How to set default Desktop environment while creating user accounts?? mayank_a Linux - Software 5 10-05-2005 06:26 AM
adding new email accounts with qmail tebucky Linux - Newbie 0 09-15-2005 10:55 AM
default web dir for user varala_kanth Linux - Newbie 3 06-09-2004 04:59 AM
Adding a dir to PKG_CONFIG_PATH bhodi Linux - Newbie 1 11-19-2003 01:54 PM


All times are GMT -5. The time now is 05:48 PM.

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
Open Source Consulting | Domain Registration