본문 바로가기

Server

리눅스 사용자 계정 정책

/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 수정


'Server' 카테고리의 다른 글

Solaris 11 / Oracle Database 12.1.0.2(12c)  (0) 2016.03.15
Reverse RDP  (0) 2015.09.24
Intel S3420GP Datasheet  (0) 2015.08.16
Set Throttling Mode(CLTT,OLTT)?  (0) 2015.08.01
리눅스/유닉스/OSX 파일 확장자 변경  (0) 2015.02.18