From owner-freebsd-questions@freebsd.org Tue Mar 7 16:49:28 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8023AD02641 for ; Tue, 7 Mar 2017 16:49:28 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cdptpa-oedge", Issuer "cdptpa-oedge" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 462B31968 for ; Tue, 7 Mar 2017 16:49:27 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from [76.181.114.47] ([76.181.114.47:57541] helo=raspberrypi.bildanet.com) by cdptpa-omsmta03 (envelope-from ) (ecelerity 3.6.9.48312 r(Core:3.6.9.0)) with ESMTP id 27/DD-21189-F84EEB85; Tue, 07 Mar 2017 16:49:19 +0000 Received: from [192.168.1.40] (helo=desktop.example.org) by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from ) id 1clIIZ-0004Lf-EC; Tue, 07 Mar 2017 11:49:19 -0500 Subject: Re: /etc/skel doesn't work?! To: Arthur Chance , freebsd-questions@freebsd.org References: <1488813922.11457.12.camel@inhio.net> <20170306195758.17d83f1d.freebsd@edvax.de> <20170306194515.GA1541@hephaistos.local> <20170306224041.21c7b709.freebsd@edvax.de> <679e1574-178f-5395-45f5-44a1ef377822@columbus.rr.com> <6ef72837-3399-86ec-e2eb-8260b256acef@columbus.rr.com> <81c0f90c-eb5b-4796-a0c7-cf906a0e549c@qeng-ho.org> From: Baho Utot Message-ID: Date: Tue, 7 Mar 2017 11:49:19 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <81c0f90c-eb5b-4796-a0c7-cf906a0e549c@qeng-ho.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.88:25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Mar 2017 16:49:28 -0000 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?