카테고리 없음
Aix - 패스워드 만료, 변경시 minlen 설정
부산까마귀™
2015. 3. 27. 01:48
반응형
퍼온 글~
# 계정 접속시 패스워드 만료, 변경 메시지
Your new password must have:
maximum of 8 repeated characters
minimum of 9 characters in length
Your password failed to meet:
minimum of 9 characters in length
maximum of 8 repeated characters
minimum of 9 characters in length
Your password failed to meet:
minimum of 9 characters in length
> 신규 패스워드 입력시에, 위의 메시지가 계속 발생할때는 /etc/securit/user 파일을 minlen 파라메터 변경
# 정보 확인및 설정
명령 권한 : root
> 현재 설정된 minlen 정보 확인
# lssec -f /etc/security/user -s [사용자] -a [Attribute]
예) # lssec -f /etc/security/user -s default -a minlen
default minlen=9
> minlen 값 변경
# chsec -f /etc/securit/user -s default -a [Attribute] = [값]
예) # chsec -f /etc/security/user -s default -a minlen=8
# lssec -f /etc/security/user -s [사용자] -a [Attribute]
예) # lssec -f /etc/security/user -s default -a minlen
default minlen=9
> minlen 값 변경
# chsec -f /etc/securit/user -s default -a [Attribute] = [값]
예) # chsec -f /etc/security/user -s default -a minlen=8
# minlen 값 변경후 재접속및 패스워드 변경 시도
[files]: You are required to change your password. Please choose a new one.
*******************************************************************************
* Welcome to AIX Version 5.3! *
*******************************************************************************
WARNING: Your password has expired.
You must change your password now and login again!
Changing password for "testuser"
testuser's Old password:
testuser's New password:
Re-enter testuser's new password:
They do not match, try again.
testuser's New password:
Re-enter testuser's new password:
*******************************************************************************
* Welcome to AIX Version 5.3! *
*******************************************************************************
WARNING: Your password has expired.
You must change your password now and login again!
Changing password for "testuser"
testuser's Old password:
testuser's New password:
Re-enter testuser's new password:
They do not match, try again.
testuser's New password:
Re-enter testuser's new password:
반응형