LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

grpck

verify integrity of group files

TLDR

Check group file integrity
$ sudo grpck
copy
Read-only mode
$ sudo grpck -r
copy
Sort by GID
$ sudo grpck -s
copy
Check specific files
$ sudo grpck [/etc/group] [/etc/gshadow]
copy

SYNOPSIS

grpck [options] [group] [shadow]

DESCRIPTION

grpck verifies the integrity of group information files. It checks for duplicate entries, valid field formats, and consistency between /etc/group and /etc/gshadow.The tool can automatically fix some issues when run interactively. It is essential for maintaining system security and proper group functionality.

PARAMETERS

GROUP

Group file to check (default /etc/group).
SHADOW
Shadow group file (default /etc/gshadow).
-r
Read-only mode, report only.
-s
Sort entries by GID.
-R DIR
Chroot directory.
--help
Display help information.

INSTALL

sudo apt install passwd
copy
sudo pacman -S shadow
copy
sudo apk add shadow
copy
sudo zypper install shadow
copy
nix profile install nixpkgs#shadow
copy

CAVEATS

Requires root access. Interactive fixes need confirmation. Back up files before repair.

HISTORY

grpck was developed as part of the shadow password suite for Unix/Linux system administration.

SEE ALSO

pwck(8), groups(1), gpasswd(1)

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid