From: Karel Zak <kzak@redhat.com>
To: util-linux@vger.kernel.org
Subject: newgrp(1) and sg(1)
Date: Mon, 18 Mar 2013 16:42:25 +0100 [thread overview]
Message-ID: <20130318154225.GF2172@x2.net.home> (raw)
Do we really need passwords for groups [newgrp(1) and /etc/gshadow]?
Seems like a nice over-engineering.
By the way, I have fixed newgrp(1) in util-linux and shadow-utils 5
years ago. The password verification was pretty useless for years...
IMHO it would be better to mark whole /etc/gshadow as deprecated and
reuse "su --group <group> [--supp-group <group> ...]" code to switch
between groups, then we don't have to maintain separate newgrp code.
Note that newgrp(1) is available in shadow-utils and util-linux, sg(1)
is alias in shadow-utils. We have been successful with login(1), now
I'd like to consolidate newgrp(1) :-)
Comments?
Karel
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
next reply other threads:[~2013-03-18 15:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-18 15:42 Karel Zak [this message]
2013-03-18 20:09 ` newgrp(1) and sg(1) Sami Kerola
2013-03-18 22:38 ` Roger Leigh
2013-03-19 8:52 ` Karel Zak
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=20130318154225.GF2172@x2.net.home \
--to=kzak@redhat.com \
--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