QuestionQ27

VerifiedSystem Security

When accessing the AIX server over the network using SSH, a user named fred cannot log in. They receive only an Access denied error message, with no additional explanation. The system administrator suspects that another system administrator may have locked the account.

How should the system administrator unlock the user account fred?

Explanation

In AIX, the account_locked user attribute controls an administrator-imposed account lock. Setting it to false with chuser unlocks the account and permits login. Failed-login lockouts instead require resetting unsuccessful_login_count in /etc/security/lastlog, typically with chsec rather than the listed passwd command. IBM documents chuser account_locked=false USERNAME as the command to unlock an account locked through this attribute.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!