Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to lock a user's account

Status
Not open for further replies.

Nakis

MIS
Jun 5, 2002
37
CY
Hi all.
I need a command to enable root to prevent specific users from logging into the AIX system (i.e. lock their account) and then a command to enable them back. I don't want to use smit.
Is there any way?


Thank you so much
 
try this

chuser account_locked=true user_name
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top