리눅스 썸네일형 리스트형 [보안] rootkit hunter (rkhunter) 설치 1. Rootkit 설치 옵션 설정 Rootkit Hunter installer 1.2.13 Usage: ./installer.sh Ordered valid parameters: --help (-h) : Show this help. --examples : Show layout examples. --layout : Choose installation template. The templates are: - default: (FHS compliant; the default) - /usr - /usr/local - oldschool: old version file locations - custom: supply your own installation directory - RPM: for building RPM'.. 더보기 [crontab] 시간 동기화 [crontab] 시간 동기화 [root@scbyun slave]# crontab -e 설정 00 03,15 * * * /usr/bin/rdate -s time.bora.net && clock -w &> /dev/null [root@scbyun slave]# crontab -l 확인 00 03,15 * * * /usr/bin/rdate -s time.bora.net && clock -w &> /dev/null 더보기 [리눅스] rsync 설치 [rsync Server 설치] [root@sangchul src]# wget http://rsync.samba.org/ftp/rsync/rsync-3.0.7.tar.gz [root@sangchul src]# tar xvfz rsync-3.0.7.tar.gz [root@sangchul rsync-3.0.7]# ./configure [root@sangchul rsync-3.0.7]# make [root@sangchul rsync-3.0.7]# make install [root@sangchul rsync-3.0.7]# vi /etc/xinetd.d/rsync # default: off # description: The rsync server is a good addition to an ftp server, .. 더보기 [WEB 보안] John the ripper 설치 (johnripper) John the ripper 설치 1. 내려받기 # wget http://www.openwall.com/john/g/john-1.7.6.tar.gz 2. 압축해제 # tar xvfz john-1.7.6.tar.gz 3. 설치하기 # cd john-* # cd src # make # make clean generic # cd ../run 4. 실제 파일 복사 ./unshadow /etc/passwd /etc/shadow > userlist.txt 5. 실행하기 ./john userlist.txt > john_ripper.log 6. john_ripper 스크립트 # vi john_ripper.sh -------------------------------------------------------------.. 더보기 [리눅스][보안취약점] 계정 잠금 임계값 설정 [보안취약점] 계정 잠금 임계값 설정 점검 내용 : 사용자 계정 로그인 실패 시 계정잠금 임계값이 설정되어 있는지 점검 판단기준 : 계정 잠금 임계값을 10회 이하의 값으로 설정되어 있는 경우 점검 및 조치 방법 system-auth 파일 vim /etc/pam.d/system-auth #%PAM-1.0 # This file is auto-generated. # User changes will be destroyed the next time authconfig is run. auth required pam_env.so auth required pam_faildelay.so delay=2000000 auth sufficient pam_fprintd.so auth sufficient pam_unix.so n.. 더보기 [리눅스] 하드웨어 정보 확인하기 | dmidecode 명령어 하드웨어 정보 확인하기 | dmidecode 명령어 : 하드웨어 정보 확인하기(DMI : Desktop Management Interface) DMI 테이블 레코드 개수 확인 dmidecode | grep ^Handle | wc -l $ dmidecode | grep ^Handle | wc -l 23 dmidecode | grep structures $ dmidecode | grep structures 23 structures occupying 1182 bytes. DMI Types DMI TYPES The SMBIOS specification defines the following DMI types: Type Information ----------------------------------------.. 더보기 [리눅스] yum 명령어 yum 명령어 yum 사용 방법 Usage: yum [options] COMMAND List of Commands: check Check for problems in the rpmdb check-update Check for available package updates clean Remove cached data deplist List a package's dependencies distribution-synchronization Synchronize installed packages to the latest available versions downgrade downgrade a package erase Remove a package or packages from your system fs Acts .. 더보기 ls 명령어 ls 명령어 ls 명령어는 유닉스 및 리눅스 기반 시스템에서 파일과 디렉토리의 목록을 표시하는데 사용되는 명령어입니다. 이 명령어는 주로 현재 작업 디렉토리에 있는 파일들을 보여주는데 사용됩니다. 기본적인 사용법 ls [옵션] [파일 또는 디렉토리...] 주요 옵션 -l: 파일의 상세 정보를 긴 형식으로 표시합니다 (permissions, owner, group, size, modification date 등). -a: 숨김 파일(이름이 마침표로 시작하는 파일)도 포함하여 모든 파일과 디렉토리를 표시합니다. -h: 파일 크기를 보기 쉽게 사람이 읽을 수 있는 단위로 표시합니다 (KB, MB 등). -r: 역순으로 파일과 디렉토리를 나열합니다. -t: 최신 수정된 순서대로 파일과 디렉토리를 나열합니다. 사.. 더보기 이전 1 ··· 162 163 164 165 166 167 168 ··· 173 다음