Question: SYSLOG CLIENT SCRIPT To test the client and server configurations you will need to create a simple shell script. The client script should be written
SYSLOG CLIENT SCRIPT
To test the client and server configurations you will need to create a simple shell script. The client script should be
written on the Kali system. The command used to send log messages to the syslog daemon is logger Review the
manual page for logger for more information. Create a script that performs the following tasks:
Assign a TAG element to a variable
Ask the user to provide a facility keyword
See "Keyword" in facility list below
Ask the user to provide a severity keyword
See "Keyword" in severity list below
Ask the user to provide a logging message
Take the usersupplied data and generate a syslog message
Send the generated syslog message to the server
When completed a user should be able to send a syslog message to the server.
Sample logger command:
logger t "MYTAG" p lprerr "Here is my sample lprerr log message"
Verification Example:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
