Thursday, January 10, 2013

Lock User account




Sometime and due to some circumstances like a user takes a long vacation and you don`t need to delete it, then you just lock his account.
Locking an account is an easy task to accomplish in an eye blink.
Simply invoke the following command:
# chuser account_locked=true <user_id>
The user_id is the “name of the user” or his/her “user id” (getting the user id is using the command id)
  For example to lock the user lpd ,run the following:
  # chuser account_locked=true lpd
Check out this blog to lock an account using smitty :
http://aixhood.blogspot.com/2013/01/lock-user-account-using-smitty.html

No comments:

Post a Comment