Answer:
chage -M 60 -W 10 jsmith
Explanation:
The command chage -M 60 -W 10 jsmith is used to set the password to jsmith so that it will expires after 60 days and this command will also gives the warning 10 days prior to the expiration of the password.This command is for command prompt.We can also change the expiration and warning by changing the integers in the command respectively.