From owner-freebsd-stable@FreeBSD.ORG Thu Jan 26 10:17:50 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id AB5DC1065680 for ; Thu, 26 Jan 2012 10:17:50 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 172-17-150-251.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id CCBA01A9104; Thu, 26 Jan 2012 10:17:48 +0000 (UTC) Message-ID: <4F21284C.4050600@FreeBSD.org> Date: Thu, 26 Jan 2012 02:17:48 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120119 Thunderbird/9.0 MIME-Version: 1.0 To: Miroslav Lachman <000.fbsd@quip.cz> References: <4F197F44.8000902@quip.cz> In-Reply-To: <4F197F44.8000902@quip.cz> X-Enigmail-Version: 1.3.5 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: not overwriting files in /usr/share/skel X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2012 10:17:50 -0000 Sorry it's taken so long to get back to you about this. On 01/20/2012 06:50, Miroslav Lachman wrote: > 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. You would probably be better off putting these kinds of local modifications in /etc/login.conf. > 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? No such option exists, sorry. > Or should we use some other directory and use adduser.conf instead? That would be another suitable alternative for you, yes. > PS: I am CCing you Doug, because I think you are the most competent > person in this area I'm flattered. :) And once again, sorry for the delay. hth, Doug -- It's always a long day; 86400 doesn't fit into a short. Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/