You are not logged in.

#1 2008-03-14 17:41:51

TheGrudge
Member
Registered: 2006-06-15
Posts: 206
Website

changes in /etc/group

Hi, I recently used vimdiff to merge some .pacnew-files in /etc.
Now I found out that /etc/group changed its syntax. For example

root:x:0:root

changed to

root::0:root

Is it important to remove the 'x' in my current /etc/group file?


digiKam developer - www.digikam.org

Offline

#2 2008-03-14 17:55:19

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: changes in /etc/group

From 'man group':

GROUP(5)                   Linux Programmer's Manual                  GROUP(5)

NAME
       group - user group file

DESCRIPTION
       /etc/group  is  an  ASCII  file which defines the groups to which users
       belong.  There is one entry per line, and each line has the format:

              group_name:passwd:GID:user_list

       The field descriptions are:

       group_name
              the name of the group.

       password
              the (encrypted) group password.  If  this  field  is  empty,  no
              password is needed.

       GID    the numerical group ID.

       user_list
              all the group member's user names, separated by commas.

I'd leave it alone, apparently that field is related to password.  If the root group works as expected, just leave it.

Offline

#3 2008-03-14 18:02:58

TheGrudge
Member
Registered: 2006-06-15
Posts: 206
Website

Re: changes in /etc/group

ok...


digiKam developer - www.digikam.org

Offline

#4 2008-03-14 23:55:46

ST.x
Member
From: Sydney, Australia
Registered: 2008-01-25
Posts: 363
Website

Re: changes in /etc/group

hmm my original group file already has:

root::0:root

Offline

#5 2008-03-15 08:23:37

TheGrudge
Member
Registered: 2006-06-15
Posts: 206
Website

Re: changes in /etc/group

I installed Archlinux in March 2006, so maybe your installation is newer than mine...


digiKam developer - www.digikam.org

Offline

#6 2008-03-15 09:05:21

brebs
Member
Registered: 2007-04-03
Posts: 3,066

Re: changes in /etc/group

Here's an explanation of that 2nd field, "password":

Group password — If set, this allows users who are not part of the group to join the group by using the newgrp command and typing the password stored here. If a lower case x is in this field, then shadow group passwords are being used.

Offline

Board footer

Powered by FluxBB