반응형 FullStack/40. Linux18 [CentOS] 디스크 마운트 추가(신규 디스크 연결 하기) 디스크 마운트 추가(신규 디스크 연결 하기) 기존 사용하던 디스크의 용량 부족으로 새로운 디스크를 추가 연결하게 되어, 기록합니다. 작업은 root로 진행합니다. # 디스크 정보 확인 $ fdisk -l Disk /dev/xvdb: 214.7 GB, 214748364800 bytes, 419430400 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk label type: dos Disk identifier: 0x3eaf69fe Disk /dev/xvdc: 107.4 GB, 10.. 2021. 1. 27. [CentOS] 로그인 잠금 자동 초기화 로그인 잠금 자동 초기화 설정 리눅스에서 패스워드 실패에 대한 자동 초기화 설정 해당 설정을 위해서는 2개의 파일을 변경해야 한다. 변경하는 파일의 내용은 동일하나 파일별 역할이 다르다. /etc/pam.d/system-auth - 로컬 로그인에 대한 설정 /etc/pam.d/password-auth - ssh, ftp 등 리모트 접근 대한 설정 $ vi /etc/pam.d/system-auth # /etc/pam.d/system-auth auth required pam_env.so auth required pam_tally2.so deny=5 unlock_time=600 # 추가 auth required pam_faildelay.so delay=2000000 auth sufficient pam_fpri.. 2021. 1. 14. 이전 1 2 3 4 5 다음 반응형