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

Nils Kassube kassube at
Wed Mar 4 08:20:35 UTC 2009

Leonard Chatagnier wrote:
> --- On Tue, 3/3/09, Nils Kassube <kassube at> 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.


More information about the ubuntu-users mailing list