U.S. Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI 102-500 Exam - Topic 5 Question 119 Discussion

Which of the following can the chage command NOT change?
E) The number of days of inactivity after a password has expired before the account is locked.
A) The number of days since January 1, 1970 after which the user's account will no longer be accessible.
B) The number of days since January 1, 1970 after which the password can change.
C) The number of days since January 1, 1970 since the password was last changed.
D) The maximum number of days during which a password is valid.

LPI 102-500 Exam - Topic 5 Question 119 Discussion

Actual exam question for LPI's 102-500 exam
Question #: 119
Topic #: 5
[All 102-500 Questions]

Which of the following can the chage command NOT change?

Show Suggested Answer Hide Answer
Suggested Answer: E

The chage command can change the following parameters related to user password expiry and aging:

The last password change date (-d or --lastday option)

The password expiry date (-E or --expiredate option)

The minimum number of days between password changes (-m or --mindays option)

The maximum number of days during which a password is valid (-M or --maxdays option)

The number of days of warning before password expires (-W or --warndays option)

The chage command cannot change the number of days of inactivity after a password has expired before the account is locked. This parameter is controlled by the -I or --inactive option of the usermod command, which modifies the user account information. The chage command only displays the current value of this parameter, but does not allow changing it.Reference:

chage command in Linux with examples - GeeksforGeeks

10 chage command examples in Linux [Cheat Sheet] - GoLinuxCloud

How to Use the Chage Command in Linux -- TecAdmin

How to Manage User Password Expiration and Aging in Linux - Tecmint


Contribute your Thoughts:

0/2000 characters
Evelynn
1 month ago
I think the chage command can change most of these options, but I'm not sure about option E.
upvoted 0 times
...

Save Cancel