Linux/Note
취약 암호 알고리즘 조치
Lee seongwoo
2024. 9. 26. 02:20
반응형
1. 암호화 알고리즘 확인
#authconfig —test | grep hashing
password hashing algorithm is md5
2. 변경가능 패스워드 알고리즘 확인
#authconfig —help | grep passalgo
—passalgo=<descrpyt | bigcrypt | md5 | sha256 | sha512>
3. 알고리즘 변경
#authconfig —passalgo=512 —update
4. 결과 적용 확인
#authconfig —test | grep hashing
passwor hashing algorithm is sha512
#cat /etc/login.defs
반응형