Server
리눅스 사용자 계정 정책
Cirrus.Kim
2016. 2. 12. 11:03
/etc/login.defs : 새로 생성하는 계정에 대한 비밀번호 주기 등을 변경할 수 있음.
chage 명령어 : 특정 사용자에 대한 비밀번호를 Line by line으로 수정할 수 있음.
root@Pi_Rader:/# chage pis
Changing the aging information for pis
Enter the new value, or press ENTER for the default
Minimum Password Age [0]:
Maximum Password Age [0]: 30
Last Password Change (YYYY-MM-DD) [2016-02-12]: -1(-1 변경 시 즉시 변경 메시지가 나옴)
Password Expiration Warning [7]: 7
Password Inactive [-1]:
Account Expiration Date (YYYY-MM-DD) [2016-04-01]:
chfn : 사용자 정보 Line by line 수정