게시물 261건
   
[redhat6.7] 패스워드 파일을 md 5 변경하기
글쓴이 : theko 날짜 : 2016-11-18 (금) 09:33 조회 : 3837


1. 확인 하기 
[root@theko ~]# authconfig  --test | grep password
 shadow passwords are enabled
 password hashing algorithm is sha512

# 기본적으로  sha512 으로 설정 되어있다.



2. 변경 하기 

   1) 명령어로 변경
     # authconfig --passalgo=md5  --update
     
   2) 설정 파일 수정으로 변경 하기 
    # cat /etc/pam.d/system-auth   | grep sha512

   # cat /etc/sysconfig/authconfig | grep sha512

  3) 적용하기 
   # pwunconv
   # pwconv
 
# 적용하면 먼저 있던 애들은 바뀌지 않고 앞으로 생성되거나, 패스워드 변경하는 애들만 적용



이름 패스워드
비밀글 (체크하면 글쓴이만 내용을 확인할 수 있습니다.)
왼쪽의 글자를 입력하세요.
   

miwit.com sir.co.kr DNS Powered by DNSEver.com DNS Powered by DNSEver.com