Re: Modifying the /etc/skel
From: Bill Marcum (bmarcum_at_iglou.com.urgent)
Date: 04/28/04
- Next message: Bill Marcum: "Re: Which is the best newsgroup for debian converse?"
- Previous message: |lobo|: "Re: KDE or GNOME?"
- In reply to: Matias Silva: "Modifying the /etc/skel"
- Next in thread: Matias Silva: "Re: Modifying the /etc/skel"
- Reply: Matias Silva: "Re: Modifying the /etc/skel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 28 Apr 2004 15:26:24 -0000
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.
-- Giraffe: a ruminant with a view.
- Next message: Bill Marcum: "Re: Which is the best newsgroup for debian converse?"
- Previous message: |lobo|: "Re: KDE or GNOME?"
- In reply to: Matias Silva: "Modifying the /etc/skel"
- Next in thread: Matias Silva: "Re: Modifying the /etc/skel"
- Reply: Matias Silva: "Re: Modifying the /etc/skel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|