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.
909 B
909 B
groupdel(8) - delete a group
NAME
groupdel - delete a group
SYNOPSIS
groupdel [options] GROUP
DESCRIPTION
The groupdel command modifies the system account files, deleting all entries that refer to GROUP. The named group must exist.
You may not remove the primary group of any existing user. You must remove the user before you remove the group.
OPTIONS
- -P, --prefix PREFIX_DIR
- Use PREFIX_DIR as a prefix for system file paths.
- -R, --root CHROOT_DIR
- Apply changes in the CHROOT_DIR directory.
EXIT STATUS
- 0
- Success.
- 2
- Invalid command syntax.
- 6
- Group does not exist.
- 8
- Cannot remove a user's primary group.
- 10
- Cannot update group file.
FILES
- /etc/group
- Group account information.
- /etc/gshadow
- Secure group account information.
SEE ALSO
groupadd(8), groupmod(8), userdel(8)