The promiscuous module
pam_permit is a PAM module that always permit access. It does nothing else.
In the case of authentication, the users name will be set to nobody if the application didnt set one. Many applications and PAM modules become confused if this name is unknown.
This module is very dangerous. It should be used with extreme caution.
This module does not recognise any options.
The auth, account, password and session module types are provided.
This module always returns this value.
Add this line to your other login entries to disable account management, but continue to permit users to log in.
account required pam_permit.so
pam.conf(5), pam.d(5), pam(8)
pam_permit was written by Andrew G. Morgan, <email@example.com>.