ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 9 - XK0-005 discussion

Report
Export

Based on an organization's new cybersecurity policies, an administrator has been instructed to ensure that, by default, all new users and groups that are created fall within the specified values below.

To which of the following configuration files will the required changes need to be made?

A.
/etc/login.defs
Answers
A.
/etc/login.defs
B.
/etc/security/limits.conf
Answers
B.
/etc/security/limits.conf
C.
/etc/default/useradd
Answers
C.
/etc/default/useradd
D.
/etc/profile
Answers
D.
/etc/profile
Suggested answer: A

Explanation:

The required changes need to be made to the /etc/login.defs configuration file. The /etc/login.defs file defines the default values for user and group IDs, passwords, shells, and other parameters for user and group creation. The file contains the directives UID_MIN, UID_MAX, GID_MIN, and GID_MAX, which set the minimum and maximum values for automatic user and group ID selection. The administrator can edit this file and change the values to match the organization's new cybersecurity policies. This is the correct file to modify to accomplish the task. The other options are incorrect because they either do not affect the user and group IDs (/etc/security/limits.conf or /etc/profile) or do not set the default values (/etc/default/useradd). Reference: CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 15:

Managing Users and Groups, page 463.

asked 02/10/2024
Ksu doo Makek
45 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first