tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Way to be in multiple groups automatically?
@ 1996-04-03 11:47 0000-Admin
  0 siblings, 0 replies; only message in thread
From: 0000-Admin @ 1996-04-03 11:47 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-04-03 11:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-04-03 11:47 Way to be in multiple groups automatically? 0000-Admin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox