Lock and unlock an AIX user account

Source: Internet
Author: User
Locks and unlocks the AIX User account. last night, the root, oracle, and grid user passwords of 40 database hosts were modified as required. just a few replicas found that oracle users could not log on shortly after, the reason is that OEM12C is using the original oracle user password... locks and unlocks the AIX User account. last night, the root, oracle, and grid user passwords of 40 database hosts were modified as required. just a few replicas found that oracle users could not log on shortly after, the reason is that OEM12C keeps trying to log on to www.2cto.com using the original oracle user password, causing the AIX system to lock the oracle user, some online users said they needed to unlock oracle users to solve the problem: Below are some of the good information I found: the loginretries parameter of the chuser command called by the AIX system defines the number of failed login attempts allowed before the user account is locked. NUMBER of failed logins before user account is locked. Www.2cto.com when the number of failed attempts exceeds this value, the user will be 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 locks the user to unlock the smit lockuser and locks the user smit failed_logins to set the number of logon failures. However, this locking and unlocking method is different from the user locked due to logon failure is locked, because such user locks cannot be unlocked through chuser account_locked = false oracle, you must initialize the number of user logon failures in another way. The command is as follows: chsec-f/etc/security/lastlog-s oracle-a unsuccessful_login_count = 0 source http://blog.csdn.net/xiangsir/article/details/8590314
Related Article

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.