Re: More advanced home directory creation in Debian?
On 2010-09-10, Jerome Warnier <email@example.com> wrote:
> On Sun, 2010-08-22 at 19:00 -0300, Fernando Lemos wrote:
>> On Sun, Aug 22, 2010 at 6:40 PM, Christoph Anton Mitterer
>> <firstname.lastname@example.org> wrote:
>> > You're aware that not only .bash_* and .profile can be distributed
>> > by /etc/skel,... but any other config file (e.g. .vimrc) a specific site
>> > or organisation may found useful for their users?
>> > Or a predefined directory structure,... ssh config perhaps specific for
>> > each user?
>> /etc/skel is used to populate user home directories on user creation,
>> nothing more. For system-wide settings , use /etc (e.g.
>> /etc/vim/vimrc.local). Use site-specific scripts for any more
>> convoluted needs you might have. There's nothing to be discussed about
>> this, really.
> Think about places where the home is on a server, while /etc is on local
> You need to extend your vision.
I don't think it's sensible to rely on changes in /etc/skel to be propagated
somewhen to /home at user creation time for any sane organization-wide
configuration setting. One tries to distribute configuration files to /etc on
all machines organization-wide to get a similar configuration.