nerdexam
CompTIA

LX0-104 · Question #303

Which of the following can the chage command <b>NOT</tt> change?

The correct answer is B. The number of days since January 1, 1970 when the password can change. The chage command manages password aging information for user accounts, but it does not control a specific date when a password can change.

Administrative Tasks

Question

Which of the following can the chage command <b>NOT</tt> change?

Options

  • AThe number of days since January 1, 1970 on which the user account will no longer be accessible.
  • BThe number of days since January 1, 1970 when the password can change.
  • CThe number of days since January 1st, 1970 when the password was last changed.
  • DThe maximum number of days during which a password is valid.
  • EThe number of days of inactivity after a password has expired before the account is locked.

How the community answered

(19 responses)
  • B
    89% (17)
  • C
    5% (1)
  • E
    5% (1)

Why each option

The `chage` command manages password aging information for user accounts, but it does not control a specific date when a password *can* change.

AThe number of days since January 1, 1970 on which the user account will no longer be accessible.

The `chage -E` option sets the account expiration date, specified as days since January 1, 1970.

BThe number of days since January 1, 1970 when the password can change.Correct

The `chage` command allows setting parameters like the last password change date (-d), minimum password age (-m), maximum password age (-M), warning period (-W), inactivity period (-I), and account expiration date (-E). It does not have an option to define a specific date (in days since January 1, 1970) when a password *can* change, but rather a minimum number of days that must pass before a password *can* be changed again.

CThe number of days since January 1st, 1970 when the password was last changed.

The `chage -d` option sets the date of the last password change, specified as days since January 1, 1970.

DThe maximum number of days during which a password is valid.

The `chage -M` option sets the maximum number of days a password is valid before requiring a change.

EThe number of days of inactivity after a password has expired before the account is locked.

The `chage -I` option sets the number of days of inactivity after a password expires before the account is locked.

Concept tested: `chage` command password aging parameters

Source: https://man7.org/linux/man-pages/man1/chage.1.html

Topics

#password aging#chage command#user security

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice