0% found this document useful (0 votes)
24 views9 pages

Linux Essentials PPT-CH05 - Final

Chapter 5 of 'Linux Essentials for Cybersecurity' focuses on troubleshooting techniques for diagnosing system problems in Linux. It covers steps such as gathering information, determining causes, documenting plans, and notifying users of system issues. Additionally, it discusses how to send pre-login and login messages to users for effective communication about system status.

Uploaded by

Jayyif
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views9 pages

Linux Essentials PPT-CH05 - Final

Chapter 5 of 'Linux Essentials for Cybersecurity' focuses on troubleshooting techniques for diagnosing system problems in Linux. It covers steps such as gathering information, determining causes, documenting plans, and notifying users of system issues. Additionally, it discusses how to send pre-login and login messages to users for effective communication about system status.

Uploaded by

Jayyif
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 9

Linux Essentials for

Cybersecurity

by William “Bo” Rothwell


and Denise Kinsey

Chapter 5: When Things Go Wrong


Objectives

 Correctly use troubleshooting skills to


diagnose system problems
 Notify users of system issues during login or
while a user is logged in to the system

© 2019 by Pearson Education, Inc. Chapter 5: When Things Go Wrong 2


The Science of Troubleshooting

1. Gather all the relevant information


 Read the error message
 Use the --help option with the command
2. Determine the likely cause
 Read documentation
 Ask coworkers for opinions
 Ask the system administrator for advice
 Research on Linux forum sites
 Perform Internet searches

© 2019 by Pearson Education, Inc. Chapter 5: When Things Go Wrong 3


The Science of Troubleshooting
(cont.)
3. Document Your Plan of Attack
 How can I make the process easy?
 How can I ensure the documentation will be easy to
retrieve and reference?
 What tools are available?
4. Perform the Actions
 Did that work correctly?
 Did I make any typos?
 Did I get the output that I expected?
 Does something else seem amiss?

© 2019 by Pearson Education, Inc. Chapter 5: When Things Go Wrong 4


The Science of Troubleshooting
(cont.)
5. Is the problem solved?
6. Repeat steps 3-5 as needed
 Check your work
 Undo what you did in the previous step if it did not solve
the problem
7. Are there other problems?
 Did you cause new problems by fixing the original one?
8. Store the documentation
9. Prevent future problems

© 2019 by Pearson Education, Inc. Chapter 5: When Things Go Wrong 5


Pre-Login Messages
 The /etc/issue file
 Controls what appears on local CLI login screen
 The /etc/issue.net file
 Controls what appears when a user logs in remotely
 FTP
 /etc/vsftpd/vsftpd.conf, change the ftpd_banner setting
 GUI (gdm)
 /etc/gdm/custom.config (Red Hat)
 /etc/gdm/gdm.conf-custom (Debian)
 Modify text in the [greeter] section

© 2019 by Pearson Education, Inc. Chapter 5: When Things Go Wrong 6


Login Messages

 /etc/motd file
 motd stands for Message of the Day
 Ideas for messages
 Friendly welcome message
 “Don’t you dare” warning message
 Upcoming changes
 Purpose of the system

© 2019 by Pearson Education, Inc. Chapter 5: When Things Go Wrong 7


Broadcasting Messages

 The wall command


 Sends message to all logged in users
 Example: wall shutting down in five minutes
 The shutdown command
 Sends a broadcast message specifically to tell
people you are shutting down in a certain number
of minutes

© 2019 by Pearson Education, Inc. Chapter 5: When Things Go Wrong 8


Summary

 The focus of this chapter was to learn


techniques to troubleshoot problems that can
arise while working on a Linux distribution
 You also learned how to send messages to
users, either as they log in or while they are
logged in, in order to provide them with
important information about the system

© 2019 by Pearson Education, Inc. Chapter 5: When Things Go Wrong 9

You might also like