not overwriting files in /usr/share/skel

Doug Barton dougb at FreeBSD.org
Thu Jan 26 10:17:50 UTC 2012


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/



More information about the freebsd-stable mailing list