Book Image

Troubleshooting CentOS

By : Jonathan Hobson
Book Image

Troubleshooting CentOS

By: Jonathan Hobson

Overview of this book

Table of Contents (17 chapters)
Troubleshooting CentOS
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 5. Troubleshooting Users, Directories, and Files

Unlike the previous subjects discussed so far, the process of troubleshooting users, directories, and files can be seen as a continual process that requires constant attention during the life time of the server. It will become an every day event, and for this reason, we will start with the basic principles of user management with the intention to show you how to restore the default file and folder permissions, recover lost files, and take you on a journey through many more associated themes in order to prepare you for a variety of issues that any professional troubleshooter may encounter.

In this chapter, we will:

  • Learn how to effectively manage the process of adding, deleting, modifying users, and implementing system-wide changes with login.defs

  • Discover how to monitor user activity with utmpdump

  • Learn how to reset the root password and initiate root-based logging to achieve improved command-line security audits

  • Learn how to recover lost...