nerdexam
Linux_Foundation

LFCS · 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 expiration and account aging, but it cannot directly set a specific date or period when a password can change, only when it must change or was last changed.

Submitted by anjalisingh· Apr 18, 2026User and Group Management

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

(29 responses)
  • B
    93% (27)
  • D
    3% (1)
  • E
    3% (1)

Why each option

The `chage` command manages password expiration and account aging, but it cannot directly set a specific date or period when a password *can* change, only when it *must* change or *was* last changed.

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 as the number of days since January 1, 1970, rendering the account inaccessible after that date.

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

The `chage` command allows setting the minimum number of days before a password *must* be changed using the `-m` option, and the last change date with `-d`. However, it does not offer a direct parameter to specify a future date when a password *can* be changed, only conditions related to when it *must* or *was* changed.

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, which is the number of 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 during which a password is valid before it expires.

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 has expired before the account is locked.

Concept tested: Linux user password aging management

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

Topics

#chage command#Password management#User account attributes#Account expiry

Community Discussion

No community discussion yet for this question.

Full LFCS Practice