HowTos : How to log all LVM commands

By default, the LVM configuration does not allow you to log the commands that are used in a shell or in a GUI (e.g system-config-lvm) environment. However, it’s possible to active logging using the configuration file /etc/lvm/lvm.conf. Activate logging for all LVM commands To active logging follow these steps. 1. Edit the lvm.conf file and find…

HowTos – send Audit Logs to a Remote Rsyslog Server in RHEL7X

Perform these steps to set up the syslog server: 1. Uncomment the following lines in the ‘MODULES‘ section of /etc/rsyslog.conf: # vi /etc/rsyslog.conf $ModLoad imtcp $InputTCPServerRun 514 If you are using UDP then uncomment following lines: # vi /etc/rsyslog.conf $ModLoad imudp $UDPServerRun 514 2. Configure the rsyslog server to recieve rsyslog events from client. To receive…