Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jan 2012 15:50:44 +0100
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        freebsd-stable@freebsd.org
Cc:        Doug Barton <dougb@freebsd.org>
Subject:   not overwriting files in /usr/share/skel
Message-ID:  <4F197F44.8000902@quip.cz>

next in thread | raw e-mail | index | archive | help
Files in /usr/share/skel are used as example . (dot) files for new 
accounts, when new user is added by adduser command.
We have some local modifications in those files, like another umask and 
so on.
The modification is persistent accross upgrades if system is upgraded by 
freebsd-update, as we have the directory listed in UpdateIfUnmodified 
and MergeChanges.

But on some machines, we can't use freebsd-update (in jails, or those 
running STABLE instead of RELEASE).

The files are overwritten on each installworld.

Is there any option to not overwrite files in /usr/share/skel or 
install/upgrade them with mergemaster instead?
Or should we use some other directory and use adduser.conf instead?

Miroslav Lachman

PS: I am CCing you Doug, because I think you are the most competent 
person in this area



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F197F44.8000902>