pwunconv

The projection password used to turn off the user

Supplementary instructions

pwunconv command is the opposite of the pwconv function and is used to turn off the user's projected password. It will save the password from the shadow file back to the passwd file.

grammar

pwunconv

Example

pwunconv # Turn off shadow password
cat /etc/passwd | grep test # Found that the password is already in the passwd file
test:$6$nYOEWamm$bz07nlv/.RgJufb3FAqJJeULfwybzgxmrWqbk7O4vI0KsT6N.ujrh6dDIUcAJdfjksyuyAFDPIngZeD3cgcf.0:3001:3001::/home/test:/bin/sh

ls /etc/shadow # View the shadow file, prompting that there is no such file or directory
ls: cannot access /etc/shadow: No such file or directory