September 18, 2016

The method of changing account password policy(passwd ↔ shadow)


□ When linux is installed, like the picture above, there is a case that the password is stored in the passwd file

□ If the password policy is changed to shadow, each account's password of password file is changed to x

□ pwconv : It is linux command to change password policy(passwd → shadow)(The shadow file is created)

□ pwunconv : It is linux command to change password policy(shadow → passwd)(The shadow file is deleted)

Test environment
O    S Ubuntu 15.10 (64bit) CPU Intel i7-4710MQ 2.50GHz
SHELL GNU bash (4.3.42) GPU Gallium 0.4 on SVGA3D
RAM 984MiB