shadow.service 319 B

123456789101112
  1. [Unit]
  2. Description=Verify integrity of password and group files
  3. After=systemd-sysusers.service
  4. [Service]
  5. Type=simple
  6. # Always run both checks, but fail the service if either fails
  7. ExecStart=/bin/sh -c '/usr/bin/pwck -r || r=1; /usr/bin/grpck -r && exit $r'
  8. Nice=19
  9. IOSchedulingClass=best-effort
  10. IOSchedulingPriority=7