Linux – Allowing multiple passwords attached to one account (Linux)

linuxpasswordsuser-accounts

Is it possible to have more than one password simultaneously attached to a login account in Linux?

I'd like to be able to add a temporarily-authorized user to an account on my web server, but don't want to have to change the login afterwards.

Is this possible?

Even cooler would be if this could be done with a timer of some kind so the temporary password would auto-die after, say, 24 hours.

Best Answer

PAM can do all sorts of awesome auth stuff. That list is probably a bit out of date, so have a look around.

Related Question