You are not logged in.

#1 2012-02-19 02:24:28

glenn69
Member
Registered: 2007-09-26
Posts: 111

/etc/group or /etc/gshadow are inconsistant...after upgrade

After upgrading via pacman -Syu I receive the following warnings

(1/1) upgrading shadow                             [######################] 100%
==> Warning: /etc/group or /etc/gshadow are inconsistant.
    Run 'grpck' to correct this.

After running sudo grpck I receive these messages

group root has an entry in /etc/gshadow, but its password field in /etc/group is not set to 'x'
group bin has an entry in /etc/gshadow, but its password field in /etc/group is not set to 'x'
group daemon has an entry in /etc/gshadow, but its password field in /etc/group is not set to 'x'
group sys has an entry in /etc/gshadow, but its password field in /etc/group is not set to 'x'
group adm has an entry in /etc/gshadow, but its password field in /etc/group is not set to 'x'
group tty has an entry in /etc/gshadow, but its password field in /etc/group is not set to 'x'
group disk has an entry in /etc/gshadow, but its password field in /etc/group is not set to 'x'
group lp has an entry in /etc/gshadow, but its password field in /etc/group is not set to 'x'
group mem has an entry in /etc/gshadow, but its password field in /etc/group is not set to 'x'
group kmem has an entry in /etc/gshadow, but its password field in /etc/group is not set to 'x'
group wheel has an entry in /etc/gshadow, but its password field in /etc/group is not set to 'x'
group ftp has an entry in /etc/gshadow, but its password field in /etc/group is not set to 'x'
group mail has an entry in /etc/gshadow, but its password field in /etc/group is not set to 'x'
group log has an entry in /etc/gshadow, but its password field in /etc/group is not set to 'x'
group smmsp has an entry in /etc/gshadow, but its password field in /etc/group is not set to 'x'
group http has an entry in /etc/gshadow, but its password field in /etc/group is not set to 'x'
group games has an entry in /etc/gshadow, but its password field in /etc/group is not set to 'x'
group audio has an entry in /etc/gshadow, but its password field in /etc/group is not set to 'x'
group optical has an entry in /etc/gshadow, but its password field in /etc/group is not set to 'x'
group nobody has an entry in /etc/gshadow, but its password field in /etc/group is not set to 'x'
group users has an entry in /etc/gshadow, but its password field in /etc/group is not set to 'x'

I followed this post to no end.  It is marked solved but I don't see a solution.
https://bbs.archlinux.org/viewtopic.php?id=131484

I don't want to log out for fear that I won't be able to login again.

Thanks

Offline

#2 2012-02-19 02:33:35

jasonwryan
Forum & Wiki Admin
From: .nz
Registered: 2009-05-09
Posts: 18,805
Website

Re: /etc/group or /etc/gshadow are inconsistant...after upgrade

falconindy posted the solution...


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

#3 2012-02-27 22:44:22

goetzkluge
Member
From: Munich
Registered: 2009-05-05
Posts: 60
Website

Re: /etc/group or /etc/gshadow are inconsistant...after upgrade

jasonwryan wrote:

falconindy posted the solution...

That helped me too. Thank you.

From 'man gshadow' I learned about the password field:

  • If the password field contains some string that is not a valid result of crypt(3), for instance ! or *, users will not be able to use a unix password to access the group (but group members do not need the password).

  • This field may be empty, in which case only the group members can gain the group permissions.

Presently, exclamation marks are in the password fields of gshadow. For the time being I'll leave it like that. Any comments?

Offline

Board footer

Powered by FluxBB