Site icon Exam4Training

Which commands can be used to change a user’s account aging information? (Choose THREE correct answers.)

Which commands can be used to change a user’s account aging information? (Choose THREE correct answers.)
A . usermod
B . passwd
C . chattr
D . chage
E . chsh

Answer: A, B, D

Explanation:

The usermod, passwd, and chage commands can be used to change a user’s account aging information. These commands can modify the password expiry date, the last password change date, the minimum and maximum number of days between password changes, the number of days of warning before password expiration, and the number of days of inactivity after password expiration. The usermod command is mainly used for modifying a user account, but it also has options for changing the password expiry and aging information, such as -e, -f, -p, and -L1. The passwd command is mainly used for changing the user password, but it also has options for changing the password expiry and aging information, such as -e, -i, -n, -w, and -x2. The chage command is specifically used for changing the user password expiry and aging information, and it has options such as -d, -E, -I, -m, -M, and -W3.

The other options, chattr and chsh, are not related to changing the user’s account aging information. The chattr command is used to change the file attributes on a Linux file system4. The chsh command is used to change the user’s login shell5.

Reference: usermod(8) ― Linux manual page

passwd(1) ― Linux manual page

chage(1) ― Linux manual page

chattr(1) ― Linux manual page

chsh(1) ― Linux manual page

Latest 102-500 Dumps Valid Version with 194 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version