DOKK / manpages / debian 12 / libpam-modules / pam_permit.8.en
PAM_PERMIT(8) Linux-PAM Manual PAM_PERMIT(8)

pam_permit - The promiscuous module

pam_permit.so

pam_permit is a PAM module that always permit access. It does nothing else.

In the case of authentication, the user's name will be set to nobody if the application didn't 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.

PAM_SUCCESS

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(7)

pam_permit was written by Andrew G. Morgan, <morgan@kernel.org>.

09/03/2021 Linux-PAM Manual