[TUHS] Will someone please explain the history and usage of gpasswd / newgrp / sg?

Grant Taylor gtaylor at tnetconsulting.net
Tue Nov 16 02:11:49 AEST 2021


Hi,

Will someone please explain the history and usage of gpasswd / newgrp / sg?

I've run across them again recently while reading old Unix texts.  I've 
been aware of them for years, but I've never actually used them for 
anything beyond kicking the tires.  So I figured that I'd inquire of the 
hive mind that is TUHS / COFF.

When was the concept of group passwords introduced?

What was the problem that group passwords were the solution for?

How common was the use of group passwords?

I ran into one comment indicating that they used newgrp to work around a 
limitation in the number of (secondary) groups in relation to an NFS 
implementation.  Specifically that the implementation of NFS they were 
using didn't support more than 16 groups.  So they would switch their 
primary group to work around this limit.

Does anyone have any interesting stories related to group passwords / 
gpasswd / newgrp / sg?



-- 
Grant. . . .
unix || die

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4013 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20211115/04a5a703/attachment.bin>


More information about the TUHS mailing list