hi by modifying /etc/shadow how can I Force a change of password so that user has at least 1 week to login?
I did it by using:
echo "enter username to force password change" read user; chage -M 7 $user;
How can I do it by modifying /etc/shadow??
I'd say compare your /etc/shadow before you use "chage" and after. But why do you want to do that by modifying your /etc/shadow instead of using "chage"?
cos,chage command is not workin...
???????
It's not allowed to bump up questions! Please read the rules.
ok....