読者です 読者をやめる 読者になる 読者になる

/etc/shadow の password field

linux

/etc/shadow の password field に出現する "!" や "*" についてのメモ。

MAN USERMOD(8)

OPTIONS
       The options which apply to the usermod command are:

       -L, --lock
           Lock a user's password. This puts a '!' in front of the encrypted password, effectively disabling the password. You can't use this option with -p or -U.

REFERENCES

superuser.com

ubuntuforums.org