Easy Tutorial
❮ Linux Comm Colrm Linux Comm Timeconfig ❯

Linux pwconv Command

Linux Command Manual

The Linux pwconv command is used to enable shadow passwords for users.

In Linux systems, user and group passwords are stored in files named passwd and group, respectively, which are located in the /etc directory. Since these files need to be readable by anyone for system operation, they pose a security risk. Shadow passwords move the passwords within these files to the shadow and gshadow files in the /etc directory, allowing only system administrators to read them. Additionally, the original passwords are replaced with the character "x," effectively enhancing the system's security.

Syntax

pwconv

Example

Enable shadow passwords for users

# pwconv

Linux Command Manual

❮ Linux Comm Colrm Linux Comm Timeconfig ❯