ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 536 - SY0-601 discussion

Report
Export

A systems administrator is auditing all company servers to ensure they meet the minimum security baseline While auditing a Linux server the systems administrator observes the /etc/ahadow file has permissions beyond the baseline recommendation. Which of the following commands should the systems administrator use to resolve this issue?

A.
chmod
Answers
A.
chmod
B.
grep
Answers
B.
grep
C.
dd
Answers
C.
dd
D.
passwd
Answers
D.
passwd
Suggested answer: A

Explanation:

chmod is a Linux command that can be used to change or modify the permissions of files and directories. The /etc/shadow file is a system file that stores the encrypted passwords of user accounts in Linux. The /etc/shadow file should have restricted permissions to prevent unauthorized access or modification of the passwords. The recommended permissions for the /etc/shadow file are read/write for root user only (600). If the systems administrator observes that the /etc/shadow file has permissions beyond the baseline recommendation, they can use the chmod command to resolve this issue by setting the appropriate permissions for the file. For example, chmod 600 /etc/shadow would set the permissions of the /etc/shadow file to read/write for root user only. 181920 Reference: CompTIA Security+ SY0-601 Certification Study Guide, Chapter 9: Implementing Identity and Access Management Controls, page 404; chmod - Wikipedia; Linux /etc/shadow file - nixCraft; How to Change File Permissions in Linux - Linuxize

asked 02/10/2024
Mauricio de Souza Penhalver Hollanda
48 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first