Date: Tue, 7 Mar 2017 18:09:19 +0000 From: Arthur Chance <freebsd@qeng-ho.org> To: Baho Utot <baho-utot@columbus.rr.com>, freebsd-questions@freebsd.org Subject: Re: /etc/skel doesn't work?! Message-ID: <57746e70-b7cd-e893-fb83-df79929ed4bc@qeng-ho.org> In-Reply-To: <ee216e70-5fc4-bac1-68ac-aea9ca737c35@columbus.rr.com> References: <1488813922.11457.12.camel@inhio.net> <20170306195758.17d83f1d.freebsd@edvax.de> <20170306194515.GA1541@hephaistos.local> <CA%2B4TWFuPS4qrPBOdD1XGqX3uC3j7NVxBdcojmX5Grk0noJfAFw@mail.gmail.com> <20170306224041.21c7b709.freebsd@edvax.de> <679e1574-178f-5395-45f5-44a1ef377822@columbus.rr.com> <d03fb7cd-fac2-1143-1491-085b3d02c05f@qeng-ho.org> <6ef72837-3399-86ec-e2eb-8260b256acef@columbus.rr.com> <81c0f90c-eb5b-4796-a0c7-cf906a0e549c@qeng-ho.org> <ee216e70-5fc4-bac1-68ac-aea9ca737c35@columbus.rr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 07/03/2017 16:49, Baho Utot wrote: > > > On 03/07/17 09:14, Arthur Chance wrote: >> On 07/03/2017 12:33, Baho Utot wrote: >>> >>> >>> On 03/07/17 07:23, Arthur Chance wrote: >>>> On 07/03/2017 12:12, Baho Utot wrote: >>>>> >>>>> >> >> [snip] >> >>>>> That would be all well and good, but /etc/skel just doesn't work >>>> >>>> Nowhere is it documented to work. man adding_user, man pw.conf and man >>>> adduser all document /usr/share/skel as the relevant directory. >>>> >>>> FreeBSD is not Linux, and RTFM is always sound advice. >>>> >>> >>> Then why is /etc/skel there >> >> Good question. The proximate cause is the entry in >> /etc/mtree/BSD.root.dist but that doesn't explain the rationale. >> >> A quick scan of the svn repository shows that pw was added for 2.1.7-R >> (slightly over 20 years ago), but it used /usr/share/skel from day one. >> >> Looking at the svn entries for /etc/mtree/BSD.root.dist I find that >> /etc/skel was introduced at 2.2.7-R by Jordan Hubbard on Feb 27th 1998 >> with the comment: >> >> "MFC: /etc/skel doesn't seem to be used in the -current branch either, >> but it doesn't hurt." >> >> This probably comes under the heading of "it seemed like a good idea at >> the time". >> >>> and FTFM >> >> The manual isn't wrong. However, I agree it could be a little more >> helpful in correcting the illusions of those coming from Linux. >> > > So are you saying that you are going to fix this? I'm not a FreeBSD developer or documenter, just a long term user. I don't think there's anything wrong other than some people failing to read the manual, and maybe a specious directory that is misleading to those converting from Linux. If you think there's a problem that needs fixing, here's the page on submitting bug reports. https://www.freebsd.org/support.html If you include a suggested fix with your bug report it may get fixed faster. -- By June 1949, people had begun to realize that it was not so easy to get a program right as had at one time appeared. It was on one of my journeys between the EDSAC room and the punching equipment that the realization came over me with full force that a good part of the remainder of my life was going to be spent in finding errors in my own programs. -- Maurice Wilkes
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57746e70-b7cd-e893-fb83-df79929ed4bc>