force to change password(shell script)

hi
How can I force user to change of password by modifying the password expiry and the grace period so that the
user has at least 1 week to login and change the password......

????????????????????????????????????????????????????????????????????????

go to

then open

file
there set

to whatever you want...

thanks.
by using shell script
How can I set an account so that it expires at a particular date?