Get the App
SLTechnology News&Howtos  ›  Servers  › 

AIX change password

Shulou Source: shulou.com Published: 2022-06-03 08:54:46 09月21日 Update

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

Tags: Users commands ports accounts login login configuration password special success information parameters characters methods times escapes prompts Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Apple MariaDB Shulou Technology OPPO Reno