public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
* newgrp(1) and sg(1)
@ 2013-03-18 15:42 Karel Zak
  2013-03-18 20:09 ` Sami Kerola
  2013-03-18 22:38 ` Roger Leigh
  0 siblings, 2 replies; 4+ messages in thread
From: Karel Zak @ 2013-03-18 15:42 UTC (permalink / raw)
  To: util-linux



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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-03-19  8:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox