[CVALE] musical groups

Patrick Bennett stnick at bennettbungalow.com
Mon Jan 28 14:35:49 PST 2008


Thanks Dennis.  When this issue first came up for me, I had thought 
there *must* be a built-in clean way to manage the groups in the 
fashion.  As I read through man pages and whatnot, I hoped I was just 
missing something.  Apparently not.  That's okay... I'll just do it the 
old fashioned way and maintain the two groups seperately.  IMHO, it's a 
pia that could be easily "fixed" (if samba can do it in the smb.conf 
syntax, /etc/group sure as hell can), but oh well. :-)

    -Patrick

Dennis Baker wrote:
> 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 
> <mailto: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 <mailto:khoff at fire2wire.com>
>
>
>     _______________________________________________
>     cvale mailing list
>     cvale at lists.fire2wire.com <mailto:cvale at lists.fire2wire.com>
>     http://lists.fire2wire.com/mailman/listinfo.cgi/cvale
>
>
>
>
> -- 
> Dennis Da-Ogre http://ogrehut.com
> ------------------------------------------------------------------------
>
> _______________________________________________
> cvale mailing list
> cvale at lists.fire2wire.com
> http://lists.fire2wire.com/mailman/listinfo.cgi/cvale
>   




More information about the cvale mailing list