Re: Problems with shadow service

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, 12 Dec 2018 22:28:40 +0100, Peter Nabbefeld wrote:
>As system seems to run without problems (other than performance), I've 
>got two questions:
>
>1. Do I need the shadow service? Why?

If verifying the integrity of group files and/or password files fails, I
wouldn't call it an install "without problems".

[rocketmouse@archlinux ~]$ grep '#' -A1 /usr/lib/systemd/system/shadow.service
# Always run both checks, but fail the service if either fails
ExecStart=/bin/sh -c '/usr/bin/pwck -r || r=1; /usr/bin/grpck -r && exit $r'
[rocketmouse@archlinux ~]$ apropos pwck
pwck (8)             - verify integrity of password files
[rocketmouse@archlinux ~]$ pwck --help | grep read-only -A1
  -r, --read-only               display errors and warnings
                                but do not change files
[rocketmouse@archlinux ~]$ apropos grpck
grpck (8)            - verify integrity of group files
[rocketmouse@archlinux ~]$ grpck --help | grep read-only -A1
  -r, --read-only               display errors and warnings
                                but do not change files

>2. Why does it fail?

See above.



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux