본문 바로가기

linux

(9)
Linux PAM (Pluggable Authentication Modules) in RHEL8/CentOS8 RHEL8 / CentOS 8 에서 Linux PAM 버전이 올라가면서, RHEL7 / CentOS7 에서 사용하던 pam_tall2.so 모듈이 대체됨. #이 부분에 잘못된 모듈이 적용되는 경우, 콘솔/원격 로그인이 안 되는 현상이 발생 (로그인이 필요하지 않은 복구 모드나, ramdisk 모드에서 수정 복구) pam_tally2.so 가 사용 되는 파일 /etc/pam.d/ |__system-auth |__password-auth pam_faillock - Module counting authentication failures during a specified interval pam_tally2.so | | V pam_faillock.so
RHEL 6.7 - procps 패키지 Bug (Linux) # OS : RHEL 6.7 ## procps 패키지 버그 ## swap 이 비정상적인 수치 값 출력 # procps 패키지 설명 ## free , top , ps 등의 명령이 포함되고, cpu, 메모리, process 등을 표시하는 패키지 ## online update 가능 # RHEL 6.7 procps 패키지 버전 # procps-3.2.8-33.el6.x86_64
CentOS + HP 시스템 관리(HP SPP) HP 시스템 CentOS SPP 온라인 설치시 아래 패키지는 SPP 에서 선택이 안 됨 (rpm 파일을 찾아, 별도 설치) # hp-ams 패키지 : Agentless Management System 으로 iLO 에서 OS 정보를 더 정확히 보여 줌 (PCI Slot 정보, NIC, Storage, SW 정보등) /etc/init.d/hp-ams status # hp-health 패키지 : hpasmcli 명령으로 HW 상태 및 IML 로그 확인 및 ASR 설정 가능 * RHEL 에서 Online 으로 SPP 설치시 위 2개 패키지는 자동 선택되어 설치됨.
Linux Bus 주소로 PCI Slot 번호 확인 ## Bus Address 확인 명령 lspci lspci | grep -i hba lspci | grep -i ethernet lspci | grep -i raid ## PCI slot 번호와 연결된 Bus Address 확인 dmidecode -t slot dmidecode -t slot | grep -e PCI-E -e Bus ## PCI Slot 에 해당하는 Bus Address 와, lspci 에서 찾은 device 의 Bus Address 를 매칭 lspci | grep -i hba ----------------------------------------------------------------------------------------------- 0a:00.0 Fibre Channel: ..
CentOS 설치 미디어 부팅 구조 # CentOS 7.4 기준 CentOS 설치 미디어 부팅 구조 Anaconda boot image for BIOS isolinux/isolinux.bin Anaconda boot image for UEFI EFI/BOOT/BOOTX64.EFI Anaconda 부팅 config for BIOS isolinux/isolinux.cfg for BIOS Anaconda 부팅 config for UEFI EFI/BOOT/grub.cfg for UEFI images/product.img Anaconda 에 의해 로드됨 cpio,gziped file mkisofs 옵션 -o custom.iso 생성되는 파일 이름 -b isolinux/isolinux.bin announces a data file as El Tori..
chage 명령 (Linux) 증상 : 특정 계정의 접속 문제 확인 : /var/log/secure 에서 아래 메세지 확인 "account has expired" # chage -l "Account Expires" 값 확인 # chage -E -1 -1 : Never 로 설정
Linux-PAM control_flag 이해 # 한글로 표현하면 헷갈리는 부분도 있는 듯 하여, 원문도 같이 붙여 넣음. required, requisite, sufficient, optional 설명 ----------------------------------------------------------------------------------------------------------------------------------- - required The module result must be successful for authentication to continue. If the test fails at this point, the user is not notified until the results of all module tests th..
Linux bonding (RHEL) 파일 구성 및 온라인 구성 # 환경예시 # bonding mode : active-backup # bonding interface : bond0 # slave interface : em0, em1 # IP: 192.168.1.55 / 24 , GW: 1 # 사전에 NetworkManger 서비스 stop 및 비활성화 #### 모듈 파일 구성 : /etc/modprobe.d/bonding.conf alias bond0 bonding options bond0 mode=active-backup miimon=100 #### em0 인터페이스 파일 구성 : /etc/sysconfig/network-scripts/ifcfg-em0 DEVICE=em0 USERCTL=no ONBOOT=yes MASTER=bond0 SLAVE=yes BOOTPR..