Get the App
SLTechnology News&Howtos  ›  Servers  › 

Use the grpconv command of linux to open the projection password of the group

Shulou Source: shulou.com Published: 2022-06-02 12:46:44 09月29日 Update

This article mainly introduces the use of linux grpconv command to open the group projection password, the article is very detailed, has a certain reference value, interested friends must read it!

The grpconv command is used to open the projection password of the group. The user and group passwords in the Linux system are stored in the passwd and group files in the / etc directory, respectively. Because of the need for the operation of the system, anyone can read them, creating security flaws.

The projection password changes the password in the file to the shadow and gshadow files in the / etc directory, which can only be read by the system administrator, while replacing the original password with the "x" character. The projection password function can be turned on or off at any time, and you only need to execute the grpconv command to turn on the group projection password.

Syntax format: grpconv

Reference example

Set the cdy group password:

[root@linuxcool ~] # groupmod-- password 123456 cdy [root@linuxcool ~] # cat / etc/group | grep cdycdy:123456:1000:

Start the shadow system:

[root@linuxcool ~] # grpconv [root@linuxcool ~] # cat / etc/group | grep cdycdy:x:1000: the above is all the contents of opening the group projection password using linux's grpconv command. Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Tags: Password projection system command file content directory reference security value interest function just at the same time character instance boy buddy shadow instruction Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info MariaDB Linux OPPO Reno Apple