The sosreport is a tool that collects the configuration and diagnostic information from Redhat Enterprise Linux Machine. The sosreport will collect information like the running kernel version, loaded modules,system configuration files and other system related information to archive file.
The file mode bits is a single character that specifies whether an alternate access method such as an access control list applies to the file.
In this article we are going to check how to disable SELinux in Centos Box.SELinux brings lot of security measures to your Linux box.It will provide an additional level of access control mechanism to files and folders on top of normal Linux security tools.
Sometimes you feel it is necessary or to be handy to have a local yum server in your network.So let’s try to create a local yum server in your network.
This how to article for using yum with a proxy server describe how to configure YUM to work behind proxy server using username and password.If you are behind proxy server then you need to configure yum to pass proxy server.
Linux server configuration file checking commands in brief.These commands are useful for verifying configuration files in Linux server before applying to the server.
important uses of LSOF Command – lsof is a Linux utility which lists the information about files opened by processes.LSOF is one of the powerful tool available for troubleshooting problems.
NAT-Network Address Translation is used to communicate from one network to other network with different sub-net.So your Linux box will act as a gateway and will allow to communicate between two different networks.
Here we are trying to find out how to convert Linux man pages to PDF. Man Pages are most reliable reference available for Linux users and man command remains the easiest way to access those reference pages.
password expiry for users is configuring in /etc/login.defs file.These are the password aging parameters PASS_MAX_DAYS Maximum number of days a password may be used. PASS_MIN_DAYS Minimum number of days allowed between password changes. PASS_WARN_AGE Number of days warning given before a password expires. By default PASS_MAX_DAYS will be 99999 days that means no password expiry.So we are going to configure password expiry for all users in 90 days and minimum days between password change is 1 day. Open /etc/login.defs and [...]
Autoconf is a set of tools which makes your project configurable and portable for running in Linux distributions. Simply, autoconf will help you to create configure script and Makefile for your code. Before going to generate configure script using autoconf, we need to define set of rules and dependencies. We are defining that rules and dependencies in two files, configure.in and Makefile.in. Create default Makefile and keep in project directory.We can genarate the configure.in based on the rules specified in [...]
Steps: #yum install exim system-switch-mail After successful installation, we need to make some necessary configurations. Switch default MTA(Mail Transfer agent) to exim if it is sendmail or any other application by using system-switch-mail. Then stop sendmail service if it is running and disable in startup. #service sendmail stop #chkconfig sendmail off And start exim service and enable to start at boot time #service exim start #chkconfig exim on If you want to enable manual routing for mail then ,add the [...]