Securing Linux Server

  • Filter
  • Time
  • Show
Clear All
new posts

    Securing Linux Server

    What are some of the tips/tricks for securing your Linux server?


    Although there are various ways to secure your Linux server, here are two common and most easy ways to begin

    Physical System Security
    Configure the BIOS to disable booting from CD/DVD, External Devices, Floppy Drive in BIOS.
    Enable BIOS password & also protect GRUB with password to restrict physical access of your system.

    Disk Partitions
    In case of disaster it is better to have different partitions to obtain higher data security. It helps to keep data separated and grouped. So, if a disaster occurs, only data of that partition will be damaged whereas the other partitions’ data will be survived.
    So, have separate partitions and ensure that third party applications are installed on separate file systems under /opt.



      The first step after creating a Linux cloud server is to set security on it to prevent hackers from obtaining unwanted access.

      One of the major step to secure your server is to have good user management.

      By default on every Linux system, the root user is created as the first user. This root user should be used only for the initial configuration of the system and then mus be disabled via Secure Shell (SSH). Disabling this root user via SSH makes it harder for a hacker to gain access to the system.
      Secondly, you must create a secondary user to use when you need to log in and administer the system. Each end user on the system should have their own login credentials for logging purposes. Depending on the actions that the end user will perform, they might need to have sudo permission to perform administrative actions.


        One of the basic ways to harden security is to keep your system updated with latest releases patches, security fixes & kernel on timely basis.