From: 0000-Admin(0000) <root () s1 ! GANet ! NET>
To: tru64-unix-managers
Subject: Way to be in multiple groups automatically?
Date: Wed, 03 Apr 1996 11:47:41 +0000 [thread overview]
Message-ID: <96076331021130.tru64-unix-managers.marc@archive.invalid> (raw)
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
reply other threads:[~1996-04-03 11:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox