mirror of
https://github.com/uutils/shadow.git
synced 2026-06-10 16:14:57 -07:00
81d0e1776d
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.
1.1 KiB
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)