shadow-maint/shadow

Can the chage command be used to set the validity period of the root account password?

qsW-git opened this issue · 0 comments

I run the chage -m command to set the minimum validity period of the root password to 7, and the chage -l command indicates that the configuration is successful. But I can still change the root password using the passwd command.Is the chage command invalid for the root user?
image