Wise people learn when they can; fools learn when they must - Arthur Wellesley

Sunday, 26 August 2018

LINUX- 39 AUDIT (RHEL-7) P2


                         LINUX- 39 AUDIT (RHEL-7) P2

Other Posts under audit,
Auditd P1
Auditd P3
Auditd P4

WHAT IS AUDIT AND IT’s SIGNIFICANCE,


HOW TO CREATE/DELETE/EDIT/DISABLE/REMOVE AUDIT LOGS:

Apart from default auditing we can configure the rules to direct auditd to keep watch on particular file/action.

The Audit system operates on a set of rules that define what is to be captured in the log files. There are three types of Audit rules that can be specified:

Wednesday, 15 August 2018

LINUX- 38 AUDIT (RHEL-7) P1


                   LINUX- 38 AUDIT (RHEL-7) P1

Other Posts under audit,
Auditd P2
Auditd P3
Auditd P4

WHAT IS AUDIT AND IT’s SIGNIFICANCE,

What is Audit and why it is required?

If we consider the term Audit in general then it means inspection of something by independent body to validate the authenticity of that thing.

Here in case of Linux, the term Audit is used for inspection of every action on server like,

Sunday, 12 August 2018

LINUX- 37 SAR (RHEL-7) P2



                         LINUX- 37 SAR (RHEL-7) P2

**Its same for RHEL6 as well as RHEL7.

Other posts under SAR,

Cron Entry:
/etc/cron.d/sysstat

Log Dir:
/var/log/sa

Let’s start working with SAR,

VERSION,

Saturday, 11 August 2018

LINUX- 36 SAR (RHEL-7) P1


                              LINUX- 36 SAR (RHEL-7) P1

**Its same for RHEL6 as well as RHEL7**

Other posts under SAR,
System Activity Report (SAR)

Detailed overview of system to call every performance/utilization data, even can retrieve historical data as well.

The sar command produces system utilization reports based on the data collected by sadc. “sadc” used to collect the performance/utilization related files and “sar” processes those files to refine the result as per our requirement.

Sunday, 5 August 2018

LINUX- 35 CONFIGURING SAMBA (RHEL-7)-P2


             LINUX- 35 CONFIGURING SAMBA (RHEL-7)-P2


In last post, we configured samba successfully in Linux**

😕😕 Really…??

Got it, I said configured successfully, though its different thing that our configuration was not successful.
😠😠
I know … I know … what you’re thinking.

Let’s make it simple.

Everything was correct, we tested it by “testparm” as well.
Even we are able to check the mount as well.

LINUX- 34 CONFIGURING SAMBA (RHEL-7)-P1


                LINUX- 34 CONFIGURING SAMBA (RHEL-7)-P1

All posts under samba,

CONFIGURING SAMBA (RHEL-7)-P1
CONFIGURING SAMBA (RHEL-7)-P2


What is SAMBA and how to configure it in RHEL7.

Samba is an open-source Linux implementation of the Server Message Block (SMB) and Common Internet File System (CIFS) protocols which uses TCP/IP protocol and It allows us to share files, folders, and printers between Linux server and Windows clients.

In Linux SAMBA provides the following services:

Saturday, 4 August 2018

LINUX- 33 LINUX LOGS (RHEL-7) P3



                   LINUX- 33 LINUX LOGS (RHEL-7) P3

HOW TO VIEW LINUX LOG’s,

All Posts under Linux Logs:

Well, got idea about almost all logs under /var/log and their significance.

GREAT….

Now let’s check, how to view them.

LINUX- 32 LINUX LOGS (RHEL-7) P2



                   LINUX- 32 LINUX LOGS (RHEL-7) P2

LINUX LOG’s AND IT’s SIGNIFICANCE,


Still we are roaming under /var/log, almost all individual log files are covered, now time to directories under /var/log.

SUBDIRECTORIES UNDER /VAR/LOG