SELINUX BASICS

Here i am going to explain the basic configuration of selinux.Through theses steps you can easily administrate
your selinux policies. Here is the simple step of enabling and disabling policies of different application.

In the above video i am enabling the anonymous write for ftp .The first step is to get the Boolean . If you want
to enable something about nfs then you have to type the below command.
 getsebool -a |grep nfs    
for ftp
getsebool -a |grep ftp
 After that you can set the value for Boolean using setsebool command  .For example
setsebool allow_ftpd_anon_write on

The above command will enable anonymous Ftp write through selinux,but it will be a temporary and it will go
back to it initial stage after system restart .For permanent changes ucan use -p along with setsebool
setsebool -p allow_ftpd_anon_write on

These are the basics of selinux  .Thank you all

Related Posts:

  • Linux File Sharing Using NFS(nfs server configuration on centos/Rhel)tion NFS stands for Network File System . NFS is a distributed file system protocol devoloped by sun microsystems at the year of 1984.Using nfs users can acces the shared data on other computers it also allows to automount th… Read More
  • ENABLE ROOT LOGIN VIA TELNET in centos/rhelThis video shows how to login as root directly via telnet.For we have to edit the configuration file /etc/securetty and add the entry for terminal which we want to login as root.by defualt TELNET,RSH etc. will not allow root … Read More
  • Secure linux system by using GRUB PASSWORDoIt is very easy to change our root password when somebody get the physical acess to your system. In order to protect your root password  we can protect your GRUB using a password.The Grub password will restrict the phys… Read More
  • Root Password Recovery In LinuxSome time will all forget something ,its natural .Here i am going to demonstrate how to reset the  root password in a Linux system with help of some screenshot .This screenshot shows how to … Read More
  • Common Ftp Folder for all FTP usersAs the requirement from some some of our blog user,i am forced to discuss about configuring a common ftp folder for all users.The configuration file /etc/vsftpd/vsftpd.conf  contains all configuration of our vsftp.so we … Read More