http://simonshin.egloos.com/2247508 /bin/su File chattr -i /bin/su chown root.wheel /bin/su chmod 4750 /bin/su chattr +i /bin/su /etc/ssh/sshd_config File 파일을 열어서 아래 사항들이 활성화 될 수 있도록 수정 한다. Pe…
- Category Archives Linux
-
-
[scrap] grep , sed, awk 정규식
** grep 한 데이터 중 3번째 항목만 가져 오고 싶을때.. grep “.xml” | awk ‘print {$3}’ http://unabated.tistory.com/447 정규식이란 무엇인가 ? 어떤 문자열의 집합을 묘사하는데 사용되는 텍스트 스트링 정해진 구문 규칙에 따른다 Editor, Utillity,…
-
install bugzilla with nginx on centos7
Set the Hostname Before you begin installing and configuring the components described in this guide, please make sure you’ve followed our instructions for setting your hostname. Issue the following co…
-
Install and configure Nginx, MariaDB & PHP-FPM in CentOS 7 (RHEL7)
https://stavrovski.net/blog/install-and-configure-nginx-mariadb-php-fpm-in-centos-7-rhel7 The following is a quick-N-dirty write-up on how to install and configure the LEMP stack (Nginx, MariaD…
-
vsftpd on Centos server 530 login incorrect error – fixed
The settings for disabling anonymous login and allowing local users where set in /etc/vsftpd.conf. anonymous_enable=NOlocal_enable=YESwrite_enable=YES But the ftp server still refused to let me login…
-
Repair a broken Ext4 Superblock in Ubuntu
This has happened to me a few times, and it’s not a nice problem to find yourself in. You computer won’t boot, all your filesystem checks tell you you’ve a bad superblock, but you cant seem to find ho…
-
Linux: Recover Corrupted Partition From A Bad Superblock
Q. How can I Recover a bad superblock from a corrupted ext3 partition to get back my data? I’m getting following error: /dev/sda2: Input/output error mount: /dev/sda2: can’t read superbloc…
-
NGINX: SELinux Changes when Upgrading to RHEL 6.6 / CentOS 6.6
If you upgrade a running system to Red Hat Enterprise Linux (RHEL) 6.6 or CentOS 6.6, the Security Enhanced Linux (SELinux) security permissions that apply to NGINX are relabelled to a much stricter p…
-
centos 에서 vsftpd passive mode 셋팅
vsftpd 셋팅을 다 하고 나서 아래와 같은 접속 오류 발생 Error: Failed to retrieve directory listing 내용은 Passive mode로 접속이 불가함.. 처리 방법은.. /etc/vsftpd.conf 파일이 아래 내용 추가 pasv_enable=YES pasv_min_port=64000 pasv_max_port=643…
-
리눅스 패스워드 정책
확인 방법 [root@jmnote ~]# grep ^PASS /etc/login.defs PASS_MAX_DAYS 99999 PASS_MIN_DAYS 0 PASS_MIN_LEN 5 PASS_WARN_AGE 7 기본값 및 의미 /etc/login.defs 기본값 문서를 참고하십시오. PASS_MAX_DAYS 99999 PASS_MIN_DAYS 0 PASS_M…