Fiber Hosting

Affordable Professional Dedicated and Co-Location Services

Documentation and Tutorials by Fiber-Hosting LLC

Created for the novice server administrator of unix and linux powered servers.

 

Locking user account in FreeBSD

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

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

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

  1.   pw lock john
  2.   pw unlock john
      Share this guide with a friend. These icons link to social bookmarking sites where readers can share and discover new web pages.
      • Digg
      • del.icio.us
      • Facebook
      • Mixx
      • Google
      • Furl
      • Reddit
      • Slashdot
      • SphereIt
      • StumbleUpon
      • Technorati

      Tags:

      Leave a Reply

      You must be logged in to post a comment.


      Warning: include(/usr/home/admin/domains/fiber-hosting.com/public_html/includes/quotes.php) [function.include]: failed to open stream: No such file or directory in /home/fiber/public_html/docs/wp-content/themes/default/footer.php on line 3

      Warning: include() [function.include]: Failed opening '/usr/home/admin/domains/fiber-hosting.com/public_html/includes/quotes.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/fiber/public_html/docs/wp-content/themes/default/footer.php on line 3


      Entries (RSS) and Comments (RSS).