Disable Selinux Temprory

There is many folder not found errors will come up if Selinux enabled. And if will make vsftpd stop working. For VSFTPD won't work with an issue like "oops Chroot" or cant upload anything. All you have to do is

setsebool -P ftp_home_dir 1

and that is it.

Many sysadmins recommends that dont Disable Selinux. But if you have to disable it run this command

echo 0 > /selinux/enforce


This will disable Selinux temporary until next reboot. If you wanna disable it forever open this file

/etc/selinux/config

and change to SELINUX=disabled. And then you have to reboot your pc

Comments

Popular posts from this blog

Set up RAID on Dell Poweredge 2850

How to implement Blueimp with Laravel 5

HackUB (Hackathon Ulaanbaatar) - Organizing event