When I set the password expire as root for root to e.g. one minute, exit and
So, what is wrong here? What do I miss, if it's possible at all to force root for change his password?
su -
again, than I'm warned (by PAM?) that my password is about to expire. When I exit again to su -
again long after the expire date, nothing happens. No one is forcing me to change the password nor informing me about that it is expired:
Code:
[root@testvs2 ~]# pw usermod -p +1m -u root
[root@testvs2 ~]# exit
logout
[admin@testvs2 ~]# su -
Password:
Warning: your password expires on Tue Nov 19 23:57:37 2013
[root@testvs2 ~]# date
Di 19 Nov 2013 23:56:45 CET
[root@testvs2 ~]# exit
logout
[admin@testvs2 ~]# su -
Password:
[root@testvs2 ~]# date
Mi 20 Nov 2013 09:54:18 CET
[root@testvs2 ~]# exit
logout
So, what is wrong here? What do I miss, if it's possible at all to force root for change his password?