You are not logged in.

#1 2015-03-01 22:27:05

miro279
Member
Registered: 2010-10-02
Posts: 156

[SOLVED] groups shadow and ghadow

After an update I cleaned the above files and now get a error for shadow.service:

● shadow.service - Verify integrity of password and group files
   Loaded: loaded (/usr/lib/systemd/system/shadow.service; static; vendor preset: disabled)
   Active: failed (Result: exit-code) since So 2015-03-01 23:09:41 CET; 10min ago
  Process: 641 ExecStart=/usr/bin/grpck -r (code=exited, status=2)
  Process: 618 ExecStart=/usr/bin/pwck -r (code=exited, status=0/SUCCESS)
 Main PID: 641 (code=exited, status=2)

Mär 01 23:09:41 abraxas grpck[641]: no matching group file entry in /etc/gshadow
Mär 01 23:09:41 abraxas grpck[641]: add group 'polkitd' in /etc/gshadow? No
Mär 01 23:09:41 abraxas grpck[641]: invalid shadow group file entry
Mär 01 23:09:41 abraxas grpck[641]: delete line 'polkitd:!:::'? No
Mär 01 23:09:41 abraxas grpck[641]: grpck: no changes
Mär 01 23:09:41 abraxas systemd[1]: shadow.service: main process exited, code=exited, status=2/INVA...MENT
Mär 01 23:09:41 abraxas systemd[1]: Failed to start Verify integrity of password and group files.
Mär 01 23:09:41 abraxas systemd[1]: Unit shadow.service entered failed state.
Mär 01 23:09:41 abraxas systemd[1]: shadow.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

In /etc/group I have

polkitd:x:102:

in /etc/gshadow

polkitd:!:::

/etc/shadow

polkitd:!:15644:0:99999:7:::

User management is not an open book to me to be honest. Hope you can help me here.

Thanks!

Last edited by miro279 (2015-03-02 19:36:18)

Offline

#2 2015-03-01 22:31:29

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED] groups shadow and ghadow

miro279 wrote:

After an update I cleaned the above files

Please elaborate on this.


Jin, Jîyan, Azadî

Offline

#3 2015-03-02 09:17:57

miro279
Member
Registered: 2010-10-02
Posts: 156

Re: [SOLVED] groups shadow and ghadow

I added groups to /etc/group that where new in group.pacnew, as I didn't backup the old file, I'm not enterly sure though I didn't do anything else stupid..

Offline

#4 2015-03-02 12:41:20

ukhippo
Member
From: Non-paged pool
Registered: 2014-02-21
Posts: 366

Re: [SOLVED] groups shadow and ghadow

Have you tried running grpck manually? That way you can answer yes to the questions to update gshadow.

Offline

#5 2015-03-02 19:36:41

miro279
Member
Registered: 2010-10-02
Posts: 156

Re: [SOLVED] groups shadow and ghadow

That did the trick! Thanks for the hint!!

Offline

Board footer

Powered by FluxBB