pwconv
Enable shadow password storage
TLDR
Convert to shadow passwords
$ pwconv
Verbose conversion$ pwconv -R [/]
SYNOPSIS
pwconv [options]
DESCRIPTION
pwconv creates or updates the /etc/shadow file from /etc/passwd, migrating password hashes from the world-readable passwd file to the root-only-readable shadow file. This is a fundamental security measure that prevents unprivileged users from accessing password hashes for offline cracking.
The command is part of shadow-utils and is typically run once during initial system setup or when converting a legacy system to shadow passwords. It preserves existing shadow entries and only adds or updates entries as needed.
PARAMETERS
-R ROOT
Chroot directory.
CAVEATS
Requires root. One-time migration. System administration.
HISTORY
pwconv is part of shadow-utils for shadow password migration.

