I'm not sure what the -1 means
man chage diz:
-I, --inactive INACTIVE
Set the number of days of inactivity after a password has expired before the account is locked. The
INACTIVE option is the number of days of inactivity. A user whose account is locked must contact the
system administrator before being able to use the system again.
Passing the number -1 as the INACTIVE will remove an account's inactivity.
ATUALIZAÇÃO seg 13 de agosto 23:02:37 ICT 2012
account foo has expired (failed to change password)
Isso significa que a conta foo está expirada e inativa. Redefina sua senha.
password for user foo will expire in 0 daysDoes this last entry mean that the password will never expire? Or that it will expire today?
É por isso que você vê o Inactive -1 ao executar chage -l foo . A conta foo ficará inativa imediatamente após a expiração.
Se você definir --inactive como valor diferente de -1 , a conta foo terá a chance de fazer um "login grace" para alterar sua senha.