[CVALE] musical groups
Dennis Baker
mtbogre at gmail.com
Mon Jan 28 14:06:01 PST 2008
Damn.. good catch there. I found groupmod also does it but it turns out
that won't really help Patrick much in any case.
To be honest the whole Unix groups system is pretty goofy.
Patrick a possibility which is nothing more than a hack would be to create a
third group that is completely rebuilds the group either from cron or when
you change the groups. The third group would contain everyone in managers
and staff. When you remove someone from managers if they were in staff they
will stay there. Then set the file permissions based on that third group
rather than the staff group.
On Jan 27, 2008 12:12 PM, Kristian Hoffmann <khoff at fire2wire.com> wrote:
> On Fri, 25 Jan 2008, Dennis Baker wrote:
>
> ---snip---
> > unfortunately I don't know an easy way to drop someone from a group with
> > usermod. The only thing I could figure is grab the groups they are in,
> drop
> ---snip---
>
> # Add "user" to "group"
> gpasswd -a user group
>
> # Delete "user" from "group"
> gpasswd -d user group
>
> Handy things, these.
>
> --
> Kristian Hoffmann
> Fire2Wire System Administrator
> khoff at fire2wire.com
>
>
> _______________________________________________
> cvale mailing list
> cvale at lists.fire2wire.com
> http://lists.fire2wire.com/mailman/listinfo.cgi/cvale
>
--
Dennis Da-Ogre http://ogrehut.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fire2wire.com/pipermail/cvale/attachments/20080128/310274ef/attachment.html
More information about the cvale
mailing list