Description of Problem:
I cannot use login in a shell to login to another account.
The error message says that the password has expired.
I eventually tracked this down in the source for /bin/login.
It just means that /bin/login has failed to access the /etc/shadow
file since it is not setuid to root.
This problem appears in both 7.0 and 7.1. The rpm shows that /bin/login
is not setuid to root.
Steps to Reproduce:
This feature has been disabled in Red Hat (since Red Hat 4.0) because it
conflicts with PAM session management.