LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 01-16-2004, 10:40 PM   #1
pandersson61
Member
 
Registered: Jan 2004
Distribution: Ubuntu 9.10, 10.04
Posts: 40

Rep: Reputation: 15
Is there a way to custiomize newly created user profiles?


Hi!

I am in the process of setting up a new linux server and just wonder if there is a way to automatically generate maildirs and other configuration files for the user?

For example to put a pre-configured .procmail file and a maildir in all new users home directory so that i won´t have to do this by hand every time i add a user. Are there any scripts available that can do this for me? Any help would be greatly appreciated.

Regards

Peter
 
Old 01-17-2004, 12:56 AM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Put what you want in /etc/skel and useradd (or the wrapper for same) should copy it over.
 
Old 01-17-2004, 01:32 AM   #3
pandersson61
Member
 
Registered: Jan 2004
Distribution: Ubuntu 9.10, 10.04
Posts: 40

Original Poster
Rep: Reputation: 15
Sweet! Thanks you have just made my life a lot easier!

/peter
 
Old 01-17-2004, 02:12 AM   #4
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Glad to.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
permissions for newly created files dialbat Linux - General 2 10-04-2004 02:58 PM
I can't login with newly created user r_ibsen Linux - Newbie 2 06-19-2004 08:32 AM
cannot login as newly created user in terminal linoops Linux - Newbie 1 06-04-2004 08:07 PM
Nothing inside X Window for newly created User ID benny Linux - Newbie 6 04-10-2004 12:03 AM
Newly created user can't run kde neeyo Linux - General 4 04-11-2002 03:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:30 AM.

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