Locking-user-account-in-freebsd

From FiberWiki

Revision as of 02:28, 20 December 2008 by Adminwiki (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Locking user account in FreeBSD

Locking user accounts in FreeBSD is simple. This can come in handy when an account needs suspended

  • Locking Account
pw lock <username>
  • Unlocking Account
pw unlock <username>
  • Examples

If a user account on the machine is named “john” then the following would lock and unlock the account

pw lock john
pw unlock john
Personal tools
Navigation