Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - 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
Hillary
12 hours ago
The chage command can't change option E.
upvoted 0 times
...
Annabelle
6 days ago
Yup, definitely not for inactivity days!
upvoted 0 times
...
Maddie
11 days ago
Just to clarify, chage is all about password and account aging.
upvoted 0 times
...
Georgiann
16 days ago
Wait, are you sure about that? I thought it could handle inactivity too.
upvoted 0 times
...
Yuriko
21 days ago
Totally agree, it's for account expiration, not inactivity!
upvoted 0 times
...
Annice
26 days ago
The chage command can't change option E.
upvoted 0 times
...
Noe
1 month ago
I think I saw a similar question where we had to identify what chage could modify, and I feel like option C is definitely something it can change.
upvoted 0 times
...
Francesco
1 month ago
I’m a bit confused. I thought the chage command could handle all these settings, but I guess there’s one it can’t change?
upvoted 0 times
...
Annice
1 month ago
I remember practicing with the chage command, and I feel like it can change the maximum days for a password, so maybe that's not the right answer.
upvoted 0 times
...
Evelynn
3 months 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