반응형

 

1. Solaris 계정 Lock 풀기

 1.1. Lock 확인

  # grep <userid> /etc/shadow

  # password -s <userid>

 1.2 Lock 해제

 # password - u <userid>

 

2. AIX 계정 Lock 풀기

 2.1 Lock 확인
 # lsuser -a account_locked <userid>

 2.2 Lock 해제

 # chuser "account_locked=true" <userid>

 2.3 비밀번호 변경

 # passwd <userid>

 

Note: The account needs to be reset if when trying to log in the following message is received:

 3004-303 There have been too many unsuccessful login attempts; please see the system administrator.

Procedure to reset the account:

# grep -p <userid> /etc/security/lastlog | grep -w unsuccessful_login_count 

unsuccessful_login_count = 10

# chsec -f /etc/security/lastlog -a "unsuccessful_login_count=0" -s <userid>

# grep -p <userid> /etc/security/lastlog | grep -w unsuccessful_login_count 

unsuccessful_login_count = 0

 # chuser "account_locked=false" <userid>

 

3. 비밀번호 변경 안되어 아래 4개 주석처리 

How to enforce password complexity on Solaris | Network World

  경로 : /etc/default/passwd

  아래 4개 주석처리

   MINALPHA=1

   MINNONALPHA=1

   MINSPECIAL=1

   MINDIGIT=1

  

*유닉스 Lock 계정 풀기
https://www.linuxnix.com/unlock-user-account-linux/

 *유닉스 로그 확인하기
https://www.linuxnix.com/unlock-user-account-linux/https://www.linuxnix.com/unlock-user-account-linux/

반응형