You are not logged in.
Routine system update this morning included an update of shadow. I received this following message:
"Warning: /etc/group or /etc/gshadow are inconsistant
Run 'grpck' to correct this."
So I run: sudo grpck
and received this message:
"group root has an entry in /etc/gshadow, but its password field in /etc/group is not set to 'x'"
and so on for all other groups.
I'm worried that I won't be able to log in again on next reboot. Please help!
Thanks in advance.
Last edited by NobodySpecial (2011-12-07 11:14:11)
Offline
You need to add 'x' on the lines that are missing it.
http://mailman.archlinux.org/pipermail/ … 22178.html
A proper line in /etc/group should looks like 'video:x:91:root,karol' ('karol' is my username, so details will be different, I only wanted to show you where the 'x' should go)
The relevant bug report, see the reason for closing https://bugs.archlinux.org/task/27270
Last edited by karol (2011-12-06 12:02:46)
Offline
Actually, I believe the proper fix in this case is to remove the password from the root group and mark the group's entry in /etc/group with an 'x'. A while back, a change was made to the stock /etc/group file to denote 'x' as no password rather than '!'. The default group and gshadow files have the following entries for root:
# grep '^root:' /etc/g{roup,shadow}
/etc/group:root:x:0:root
/etc/gshadow:root:::root
Offline
[deleted content]
EDIT 9/6/2013 12:40am: Here are two helpful articles on the format of lines in /etc/group and /etc/gshadow:
* http://www.cyberciti.biz/faq/understand … roup-file/
* https://access.redhat.com/site/document … hadow.html
Last edited by trusktr (2013-09-06 07:45:19)
joe@trusktr.io - joe at true skater dot io.
Offline