Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

AIX change password

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Echo "username:passwd" | chpasswd

Pwdadm-c usename

-special characters need to be escaped

The Best method of locking and unlocking AIX user account

For example, the password has been typed wrong many times, and the prompt message after locking

Password:

530-There have been too many unsuccessful login attempts; please see

The system administrator.

The associated configuration parameters are the following configuration items for / etc/security/login.cfg

Logindisable=7 * Lock port after 7 failed logins

Logininterval=120 * Lock the port after 7 failed logins in 120 seconds

1. If you can log in to your ROOT account, it's relatively simple.

You can unlock it by using the chsec command, as follows:

# chsec-f / etc/security/lastlog-a unsuccessful_login_count=0-s username

The lock can be unlocked by resetting the number of unsuccessful logins

2. If the user is locked by setting, you can unlock it 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. Command unlock

# chuser account_locked=TRUE username locks users

# chuser accout_locked=FALSE username unlocks the user

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report