Home >> Linux (page 2578)

Linux

How to Install VSFTPD in Centos Linux

Installing vsftpd on Centos, Redhat, Fedora or any other Linux Based Distro As root user or a sudo access user, install vsftpd using below command $yum install vsftpd To have vsftpd to be started whenever the system restarts add it to services with belwo command $chkconfig vsftpd on The above command will add vsftpd to start when the linux starts ... Read More »

How do I set default password expiration for new accounts

To set the default password expiration when creating new accounts on Red Hat LINUX edit the /etc/login.defs file. For example, to set the default maximum number of days a password may be used, change the following parameter in login.defs: PASS_MAX_DAYS 30 To set the default number of days warning given before a password expires, change the following parameter in login.defs: ... Read More »

How do I remove the suspend/hibernate entries from the system menu in the Gnome panel Redhat Linux

To remove the “Suspend” or “Hibernate” options from the Gnome System menu,instruct the Gnome Power Manager to disable support for suspend and/or hibernate. This can be achieved either graphically using gconf-editor by browsing to apps/gnome-power-manager and unset the options “can_hibernate” and “can_suspend”, or use the command line tool gconftool-2: ——— ——– ———– ———- —————– ——- ———- ——- $ gconftool-2 –type ... Read More »

Red Hat Linux Server Security Checklist

File system Security There are certain files whose presence in the Linux file system can present a security risk and should be remedied as soon as possible. When the SUID (set user ID) or SGID (set group ID) bits are set on an executable, that program executes with the UID or GID of owner of the file, as opposed to ... Read More »

how to setup nagios on Linux

Here with a simple instructions on how to install Nagios on Fedora , Redhat and Centos (Linux Based Distro) and have it monitoring your local machine. Nagios is very easy to setup and monitor. We would require the following packages to install Nagios. # yum -y install httpd* ( To install Apache) # yum -y install php* (To install PHP) ... Read More »