YouTip LogoYouTip

Linux Comm Pwconv

Linux pwconv Command

Linux pwconv Command

- Learning is not only about technology, but also about dreams!

Linux Tutorial

Shell Tutorial

Linux Reference Manual

Shell File Inclusion

Nginx Installation and Configuration

Deep Dive

  • Computer Science
  • Software
  • Web Service
  • Network Services
  • Scripts
  • Programming Languages
  • Web Design and Development
  • Scripting Languages
  • Programming
  • Development Tools

Linux pwconv Command

Image 3: Linux Command Manual Linux Command Manual

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

In a Linux system, user and group passwords are stored in files named passwd and group, respectively. These two files are located in the /etc directory. Due to system operational requirements, anyone can read them, creating a security vulnerability. Shadow passwords move the passwords from these files into the shadow and gshadow files under the /etc directory, allowing only the system administrator to read them. Simultaneously, the original password field is replaced with the character "x", effectively enhancing system security.

Syntax

pwconv

Example

Enable shadow passwords for users:

# pwconv

Image 4: Linux Command Manual Linux Command Manual

Shell File Inclusion

Nginx Installation and Configuration

Click to Share Notes

x

Category Navigation

← File TellFile Seek β†’