Files
Pierre Warnier 81d0e1776d docs/fixes: man pages, benchmarks, BSD research, Copilot findings
Fixes #56 — 14 man pages in docs/man/ (markdown format).
Fixes #67 — 8 Copilot findings fixed:
  - useradd: proper date validation (Feb 31 rejected)
  - userdel/usermod: --root wired to SysRoot
  - usermod: --expiredate validates input
  - usermod: --login validates name + updates shadow/group
  - userdel: -f separated from -r behavior
  - useradd: home dir resolved through SysRoot
  - skel: preserves directory permissions
Fixes #69 — benchmark script (benches/benchmark.sh)
Fixes #70 — FreeBSD/NetBSD reference (docs/FREEBSD-NETBSD-REFERENCE.md)

456 tests, zero clippy warnings.
2026-03-24 13:05:40 +01:00

1.1 KiB

grpck(8) - verify integrity of group files

NAME

grpck - verify integrity of group files

SYNOPSIS

grpck [options] [group [gshadow]]

DESCRIPTION

The grpck command verifies the integrity of the group information. It checks that all entries in /etc/group and (optionally) /etc/gshadow have the proper format and contain valid data.

Checks performed include:

  • Correct number of fields
  • Unique group names
  • Valid GID values
  • Matching group/gshadow entries

OPTIONS

-q, --quiet
Report only errors, suppress warnings.
-r, --read-only
Display errors and warnings but do not modify files.
-R, --root CHROOT_DIR
Apply changes in the CHROOT_DIR directory.
-s, --sort
Sort entries by GID.

EXIT STATUS

0
Success.
2
One or more bad group entries.
3
Cannot open files.
4
Cannot lock files.
5
Cannot update files.
6
Cannot sort files.

FILES

/etc/group
Group account information.
/etc/gshadow
Secure group account information.

SEE ALSO

groupadd(8), groupdel(8), groupmod(8), pwck(8)