Questions tagged [pam]

Pluggable authentication modules (PAM)

A mechanism to integrate multiple low-level authentication schemes into a high-level application programming interface (API)

309 questions
6
votes
3 answers

How do I change options in PAM configuration?

I have an issue that research indicates can be corrected by changing an option in a PAM configuration by running pam-auth-update. I've done that, but cannot for the life of me figure out how to change the options from selected to deselected in the…
EmmyS
  • 15,920
6
votes
0 answers

How can I set up radius authentication properly?

On all of our linux workstations, we have configured the PAM modules to use radius authentication. This works well for all of the various things like login on the console, login using ssh, sudo, etc. But, it doesn't work with the…
3
votes
0 answers

Ubuntu 16.04 Unable to locate package pamusb-tools

Im trying to install PAM so I can unlock my computer with my usb drive but when I try to install pamusb-tools and libpam-usb, it can't find those pakages. Is there a repository I need to add?
user545420
3
votes
1 answer

Finding pam module

I've started to read the documentation on pam and it says that the available modules should be stored in /lib/security or /lib/security64 for the examples they give to be applicable. My problem is that none of those directories contain the security…
Billy
  • 43
2
votes
2 answers

pam_tally2 not locking user out after failed attempts on Ubuntu 14 and 16

I'm not sure if this issue is with pam_tally2 itself or with Ubuntu which is what I'm trying to find out. pam_tally2 for some reason is having issues on 14 and 16. My /etc/pam.d/common-auth file looks as follows: auth required …
2
votes
1 answer

enable pam module as default

I want to enable some pam modules automatically in a script. mkhomedir is disabled as default. If you start pam-auth-update, there is no check mark in Create home directory on login How can I change this? There is a configuration…
1
vote
1 answer

Getting error sudo: pam_authenticate: Module is unknown

I am new to Ubuntu and have installed Ubuntu 12.04.3 on my laptop. I need to install VAS on it but when I do I get the error: sudo: pam_authenticate: Module is unknown. And I cannot make any other changes. Anything that requires sudo I get this…
Detty
  • 11
  • 1
  • 1
  • 2
0
votes
1 answer

How do I restore/reinstall all PAM service configuration files?

I made a mistake that resulted in the deletion of /etc/pam.d, how do I restore the PAM configuration to the state that would be generated for my currently installed packages when I don't know the specific files to restore?
0
votes
1 answer

PAM USB as two factor authenticator

Can pamusb be used as two factor authentication? Meaning to require both a password and a token to login?
ArekBulski
  • 1,181
  • 2
  • 13
  • 32
0
votes
1 answer

I changed my /etc/pam.d/common-auth with failock and i can't login back into my vm, did I lose my VM?

I followed this one to implement faillock in the common-auth, I'm not able to log back in to my VM, did i just lose my VM? How do I set up pam_faillock?
0
votes
1 answer

Can pam_tally2 log into auditd?

By default, pam logs into auditd failed login attempts. My issue is that when someone tries to log in with a non-existent user, the audit message contains acct="UNKNOWN". I would like, instead, the tried username to be logged. pam_tally2 supports…