Re: Changing groups
Dan Jones <ddjones@riddlemaster.org> writes:
> For example, say I supervise several teams working on a project. Each
> person should have access to only the project directories of their
> teams. However, some people are on more than one team. And as
> supervisor, I'm a member of them all.
For the most part, there's no reason to change groups. When you log
in, your session is considered a member of all the groups it is
defined to be in (up to some number I can't remember). The common
usage method is "I just added you to the group, Bob. Log out and log
back in."
Why is newgrp there? Two reasons. One, to change to a group you
aren't defined as a member of, but have the password (who ever
thought THAT was a good idea!). Two, to get a shell in that group
without logging everything out.
--
Alan Shutko <ats@acm.org> - I am the rocks.
I had nothing against women till I married one, now I have nothing!
Reply to: