Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Linux pwconv command

Linux pwconv command

Linux Command Reference Linux Command Reference

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

In Linux systems, user and group passwords are stored in files named passwd and group, respectively, located in the /etc directory. Because the system needs to read them, anyone can read these files, creating a security flaw. Shadow passwords move the passwords into the shadow and gshadow files in the /etc directory, which can only be read by the system administrator, and replace the original passwords with the "x" character, effectively strengthening system security.

Syntax

pwconv

Example

Enable users' shadow passwords



# pwconv 

Linux Command Reference Linux Command Reference