From: Karel Zak <kzak@redhat.com>
To: Roger Leigh <rleigh@codelibre.net>
Cc: util-linux@vger.kernel.org
Subject: Re: newgrp(1) and sg(1)
Date: Tue, 19 Mar 2013 09:52:05 +0100 [thread overview]
Message-ID: <20130319085205.GA2603@x2.net.home> (raw)
In-Reply-To: <20130318223840.GW23093@codelibre.net>
On Mon, Mar 18, 2013 at 10:38:40PM +0000, Roger Leigh wrote:
> I don't think that deprecation is really appropriate--the system
> interface, NSS and /etc/gshadow are not really the purview of
> util-linux, though tools using the interfaces certainly are.
Well, gpasswd uses /etc/gshadow, what else?
> newgrp(1) is specified by POSIX/SUS, so I think this is worth
> retaining for compatibility reasons. Making it use NSS would be
> a good improvement though, since it's currently limited to flat
> files.
I'm talking about group paswords. I don't see a problem to support
newgrp(1) as a way how to switch groups, but the question is if we
really need to support the passwords.
BTW, posix:
There is no convenient way to enter a password into the group
database. Use of group passwords is not encouraged, because by their
very nature they encourage poor security practices. Group passwords
may disappear in the future.
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
prev parent reply other threads:[~2013-03-19 8:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-18 15:42 newgrp(1) and sg(1) Karel Zak
2013-03-18 20:09 ` Sami Kerola
2013-03-18 22:38 ` Roger Leigh
2013-03-19 8:52 ` Karel Zak [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130319085205.GA2603@x2.net.home \
--to=kzak@redhat.com \
--cc=rleigh@codelibre.net \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox