LPIC-1 Exam Prep (Course 2) v5.0 Quiz Questions and Answers
Answer :
To ensure compliance and security
Explanation :
Reviewing user account permissions is essential for maintaining system security and ensuring that accounts have the necessary access levels without excessive permissions that could lead to security vulnerabilities.
Anacron ensures missed jobs due to downtime are run once the system is back.
Explanation :
Anacron is designed to handle tasks that are missed due to the system being off by executing them once the system is back on, unlike 'cron' which requires the system to be running.
To prevent path-related errors due to non-standard environments.
Explanation :
Using explicit paths helps avoid execution errors that can arise when cron jobs run in environments where path variables may not be correctly set, ensuring reliability.
To enforce public key authentication and disable password authentication, set `PasswordAuthentication` to `no` in the SSH configuration file (`/etc/ssh/sshd_config`).