after defining new group, lost administration privileges and /etc/group has been changed

Leonard Chatagnier lenc5570 at sbcglobal.net
Wed Mar 4 15:52:02 UTC 2009



--- On Wed, 3/4/09, Nils Kassube <kassube at gmx.net> wrote:

> From: Nils Kassube <kassube at gmx.net>
> Subject: Re: after defining new group, lost administration privileges and  /etc/group has been changed
> To: ubuntu-users at lists.ubuntu.com
> Date: Wednesday, March 4, 2009, 2:20 AM
> Leonard Chatagnier wrote:
> > --- On Tue, 3/3/09, Nils Kassube
> <kassube at gmx.net> wrote:
> > > In your file there is an admin group but the GID
> is 1004
> > > while it should
> > > be 111. I suppose it will only work as the real
> admin group
> > > if you
> > > assign it the correct GID because some/most/all
> (?)
> > > programs use the
> > > GID instead of the group name.
> >
> > FWIW, In my intrepid 64 bit installation my
> > /etc/group admin entry shows GID of 119 not 111.  Adm
> has a GID of 4.
> 
> Good point. The system GIDs are really not always the same.
>  A Kubuntu 
> 6.06.1 LiveCD has GID 111 for admin like this machine which
> was 
> upgraded from 6.06 to 8.04. Another Hardy machine has 112
> (don't know 
> from which version it was upgraded). A Xubuntu Hardy alpha?
> LiveCD has 
> 114 and a Jaunty machine has 120 (all 32 bit). So I think
> the initially 
> installed version is important to find out the association
> between 
> particular groups and their GIDs.
> 
Yikes, seems like a lot of unnecessary complication in GIDs. One almost needs a backup of /etc/group to really know what it should be.  thanks for pointing out the facts.
Leonard Chatagnier
lenc5570 at sbcglobal.net





More information about the ubuntu-users mailing list