145k views
0 votes
What chage command should you enter at the comman prompt to set the password to jsmith expire after 60 days and gives a warning 10 days before it expires?

User Lee Willis
by
6.5k points

1 Answer

2 votes

Answer:

chage -M 60 -W 10 jsmith

Step-by-step 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.

User Harshul Pandav
by
6.7k points