Lock and unlock an AIX User Account

Source: Internet
Author: User

Last night, as required, I modified the passwords of the root, Oracle, and grid users of 40 database hosts. I just changed the passwords of a few databases and found that
Oracle users cannot log on. The reason is that oem12c keeps logging on with the original Oracle user password.
After several failed attempts, the AIX system locks oracle users. Some online users say they need to unlock oracle users to solve the problem:
Below are some good materials I have found:

The loginretries parameter of the chuser command called by the AIX system defines the number of logon attempts allowed before the user account is locked.
You can obtain this value by viewing the number of failed logins before user account is locked attribute after Smit user.
When the number of failed attempts exceeds this value, the user is locked.
In addition, we can also use manual commands to lock users:
Chuser account_locked = true oracle locks the user

Chuser accout_locked = false Oracle unlock user

Smit lockuser locks the user

Smit failed_logins allows you to set the number of Logon failures

However, this locking and unlocking method is different from locking users due to logon failure because such user locking fails.

Chuser account_locked = false Oracle to unlock, you must use another method:

Initialize the number of user logon failures. The command is as follows:

Chsec-F/etc/security/lastlog-s Oracle-A unsuccessful_login_count = 0

If you need to reprint, please indicate the source andOriginal article linkOtherwise, reprinting is rejected.

Http://blog.csdn.net/xiangsir/article/details/8590314

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.