nerdexam
CompTIACompTIA

XK0-005 · Question #1541

XK0-005 Question #1541: Real Exam Question with Answer & Explanation

The correct answer is A: /etc/login.defs. 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_

System Management

Question

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?

Options

  • A/etc/login.defs
  • B/etc/security/limits.conf
  • C/etc/default/useradd
  • D/etc/profile

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.

Topics

#Linux User Management#Configuration Files#System Administration#User Defaults

Community Discussion

No community discussion yet for this question.

Full XK0-005 PracticeBrowse All XK0-005 Questions