UNIX/LINUX 1. 20pts. Display log info 1.1. 02pts. Display hostname in each pane. 1.2....

50.1K

Verified Solution

Question

Accounting

UNIX/LINUX

1. 20pts. Display log info

1.1. 02pts. Display hostname in each pane.

1.2. 02pts. Display syslog configuration file entry in each system.

1.3. 02pts. Display contents of the log directory in each system.

1.4. 02pts. Display contents of syslog configuration file in each system.

1.5. 12pts. Using vi editor, create a new text file s300*-i2-answers in s300* and write your answers to the questions that follow in it.

a) 02pts. Are the modules imudp and imtcp loaded ? Explain why.

b) 02pts. Where are authpriv messages stored in s300* ?

c) 02pts. Why is there no /var/log/messages file in s300* ?

d) 02pts. Where are cron messages stored in s300* ?

e) 02pts. Which messages are stored in /var/log/syslog file in s300* ?

f) 02pts. What is the difference between news and mail messages in s300* regarding facility and severity of messages ?

1.6. Display the contents of your s300123456-i2-answers file.

2. 20pts. Setup s300* so that critical log messages from a facility local4 are stored in /var/log/lcl4.crit.log

2.1. 05pts. Setup in /etc/rsyslog.d in s300*. Display contents of /etc/rsyslog.d and /var/log dirs.

2.2. 05pts. Generate critical messages from local4 facility in s300*.

2.3. 05pts. Verify that critical messages from local4 facility arrive in /var/log/lcl4.crit.log.

2.4. 05pts. Verify that critical messages from local4 facility are not stored in /var/log/syslog in s300*.

Answer & Explanation Solved by verified expert
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students