Linux command
pwunconv 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Revert shadow passwords
pwunconv
With specific root
pwunconv -R [/]
说明
pwunconv reverses the shadow password setup by moving password hashes from /etc/shadow back into /etc/passwd and removing the shadow file. This is the inverse of pwconv and effectively disables shadow password protection on the system. The command is part of shadow-utils and is rarely used in practice since shadow passwords are a fundamental security feature on modern Linux systems. Removing shadow protection makes password hashes readable by all users, significantly weakening system security.
参数
- -R _ROOT_
- Chroot directory.
FAQ
What is the pwunconv command used for?
pwunconv reverses the shadow password setup by moving password hashes from /etc/shadow back into /etc/passwd and removing the shadow file. This is the inverse of pwconv and effectively disables shadow password protection on the system. The command is part of shadow-utils and is rarely used in practice since shadow passwords are a fundamental security feature on modern Linux systems. Removing shadow protection makes password hashes readable by all users, significantly weakening system security.
How do I run a basic pwunconv example?
Run `pwunconv` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -R _ROOT_ do in pwunconv?
Chroot directory.