FreeBSD locking an account
The pw utility is a command-line utility for the FreeBSD system user and group files, allowing the superuser an easy to use and standardized way of adding, modifying and removing users and groups. Same utility provides ability to locking or unlocking FreeBSD user accounts.
FreeBSD locking an account command
Syntax:
pw lock {username}
Example
Lock user account named vivek. Login as a root user and type following command:
# pw lock vivek
FreeBSD unlocking an account command
Syntax:
pw unlock {username}
Example
Unlock user account named vivek. Login as the root user and type the following command:
# pw unlock vivek
See also:
E-mail this to a friend
Printable version
Related Other Helpful FAQs:
- Linux locking an account
- Linux deny or block user login
- How to add a ssh user in FreeBSD server
- Can I create another root user account in Linux / UNIX?
- Where are the passwords of the users located in Linux?
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: freebsd unlock account, group files, password account, pw command, root user, superuser, user accounts




Recent Comments
Today ~ 70 Comments
Today ~ 2 Comments
Yesterday ~ 10 Comments
Yesterday ~ 12 Comments
09/03/2008 05:29 pm (2 days ago) ~ 6 Comments