# pw lock username
# pw unlock username
USER LOCKING
The pw utility supports a simple password locking mechanism for users; it
works by prepending the string `*LOCKED*' to the beginning of the pass-
word field in master.passwd to prevent successful authentication.
The lock and unlock commands take a user name or uid of the account to
lock or unlock, respectively. The -V, -C, and -q options as described
above are accepted by these commands.
- Jul 11 Wed 2012 18:19
-
Lock FreeBSD的使用者
請先 登入 以發表留言。