Re: Modifying the /etc/skel
From: Matias Silva (matt_at_nospam.net)
Date: 04/28/04
- Next message: Beowulf: "UT2004 for Linux at Best Buy!"
- Previous message: Bill Marcum: "Re: Which is the best newsgroup for debian converse?"
- In reply to: Bill Marcum: "Re: Modifying the /etc/skel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 28 Apr 2004 10:18:01 -0700
Thanks, I should of read the man pages.
Matt
Bill Marcum wrote:
> On Tue, 27 Apr 2004 14:43:05 -0700, Matias Silva
> <matt@nospam.com> wrote:
>
>>How can modify the skel so that it adds subdirectories that are custom
>>to each user account?
>>
>>For instance say I want to add a user bpfish and so I create a
>>directory /etc/skel/Web but but when I adduser bpfish I want to create
>>/home/bpfish/Web/bpfish. So when I adduser jmclam the system creates
>>/home/bpfish/Web/jmclam.
>>
>>I know I can write a customized "adduser" script that does all this,
>>but I was wondering if I can leverage existing stuff.
>>
>>Thanks
>>Matt
>
>
> man adduser
> If the file /usr/local/sbin/adduser.local exists, it will be
> executed
> after the user account has been set up in order to do any local
> setup.
> The arguments passed to adduser.local are:
> username uid gid home-directory, and the environment variables
> DEBUG
> and VERBOSE will be set according to the settings in the master
> program.
>
- Next message: Beowulf: "UT2004 for Linux at Best Buy!"
- Previous message: Bill Marcum: "Re: Which is the best newsgroup for debian converse?"
- In reply to: Bill Marcum: "Re: Modifying the /etc/skel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|