pwconv - used to recover shadow file from passwd file , if shadow file is
deleted by any means
replace the encrypted password in /etc/shadow with an x.
from root user delete /etc/shadow
# rm /etc/shadow
check with
# cat /etc/shadow
To recover /etc/shadow file from the /etc/passwd file
# pwconv
and check with
# cat /etc/shadow
regards,
T.Dhanasekar
---
Mailing List Guidelines: https://ilugc.in/mailing-list-guidelines
Web: http://ilugc.in/
Internet Relay Chat: #ilugc on libera.chat