Way to be in multiple groups automatically?

From: 0000 <0000-Admin>
Date: Wed, 3 Apr 1996 06:47:41 -0500 (EST)

Hello,

Is there a method to automatically add users to groups without modifying
the /etc/group file? That is, if the primary group specified in
/etc/passwd file could also include other groups. To give an example of
where this would be needed:

say I want regular users to be in same group as development users (i.e.,
"users" group) but I want the development users to also have access to
the C compiler but not regular users. Furthermore, I dont want to
manipulate the /etc/group file each time I add a user. Here is the example
as I thought it might be:

passwd:
devuser:crypted passwd:userid:development:A Development user:/devuser:/bin/ksh
regularuser:crypted passwd:userid:users:A Regular user:/devuser:/bin/ksh

group:
users::
devuser(somehow include the users group here)::

- Thanks for any thoughts!
Brad Block
Received on Wed Apr 03 1996 - 14:26:10 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT