Subject: Re: pkg/27162: pkgsrc creates an inadequate /etc/shells if it doesn't already exist.
To: Jeremy C. Reed <>
From: Robert Elz <kre@munnari.OZ.AU>
List: tech-pkg
Date: 10/09/2004 05:23:39
    Date:        Fri, 8 Oct 2004 14:40:22 -0700 (PDT)
    From:        "Jeremy C. Reed" <>
    Message-ID:  <>

  | I was talking about an option to say to "create a nonexisting" /etc/shells
  | or not.

That would be redundant.   If the user has expressly said to add the
shell to /etc/shells, that must mean whether or not the file already
exists.   If the user has expressly said not to add the shell to
/etc/shells, it would be perverse, at best, to create the file if it
didn't exist, and then add nothing to it.   One option for all of this
is enough (let's avoid a million and one knobs).

Create a populated /etc/shells, if none exists, and a new entry is to
be added to it.