[Share] locking and unlocking an AIX User Account

Source: Internet
Author: User

For example, if the password is lost multiple times and the locked prompt is displayed
Password:
530-there have been too unzip unsuccessful login attempts; please see
The system administrator.

The related configuration parameters are the following configuration items of/etc/security/login. cfg.

Logindisable = 7*7 failed logons lock the port
Logininterval = 120 * The port is locked only when logininterval fails 7 times within 120 seconds.

1. If you can log on to the root account, it is relatively simple.

You can use the chsec command to unlock the instance, as shown in the following code:
# Chsec-F/etc/security/lastlog-A unsuccessful_login_count = 0-s Username
Unlock by resetting the number of unsuccessful logins

2. if the user is locked by settings, the user can be unlocked in this way.
# [Smitty user] --> [Lock/unlock a user's account]
Or
# Chsec-F/etc/security/lastlog-A unsuccessful_login_count = 0-s Username

3. Unlock commands
# Chuser account_locked = true username lock the user
# Chuser accout_locked = false username unlock the user

[Share] locking and unlocking an AIX User Account

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.