가장 간단(?)한 방법으로 root를 통해 암호를 수정하면 된다.
[링크 : http://www.hecticgeek.com/2012/01/skip-password-too-simple-message-ubuntu-linux/]
---
테스트 환경
Ubuntu 10.04 LTS Desktop 32bit
/etc/pam.d/common-passwd 를 수정해서
하는 법이 있으나 pam_cracklib.so 를 구해야 하는데 웬지 찜찜하다 -_-a
[링크 : https://www.linuxquestions.org/.../howto-change-system-password-policies-passwd-length...]
[링크 : http://www.deer-run.com/~hal/sysadmin/pam_cracklib.html]
[링크 : http://www.linuxquestions.org/questions/linux-security-4/allow-weak-password-352428/]
PASS_MAX_DAYS 60
PASS_MIN_DAYS 1
PASS_MIN_LEN 8
PASS_WARN_AGE 7 |
[링크 : http://jmnote.com/wiki/리눅스_패스워드_정책]
PASS_MAX_LEN (number), PASS_MIN_LEN (number)
Number of significant characters in the password for crypt().
PASS_MAX_LEN is 8 by default. Don't change unless your crypt() is
better. This is ignored if MD5_CRYPT_ENAB set to yes. |
음... passwd 유틸리티에서 막는건지
PASS_MIN_LEN 1을 설정해도 1자리로 되진 않는다 -_-
'Linux' 카테고리의 다른 글
history - bash (0) | 2014.08.30 |
---|---|
dd - disk duplicate (0) | 2014.08.29 |
mount - relatime / noatime (0) | 2014.08.28 |
linux shared object(so) tutorial (0) | 2014.06.30 |
리눅스 쉘 스크립트 << EOF 를 이용해서 자동화 하기 (0) | 2014.04.11 |