Skip to main content

Questions tagged [pam]

Pluggable Authentication Modules handle authentication tasks of applications or services running on the system.

2 votes
0 answers
25 views

How to configure PAM to asks for password, and try recognize of face or input additional password. I need to use sudo by face. Additional password is required to enhance security (nobody will run sudo ...
nintyfan's user avatar
  • 123
6 votes
1 answer
216 views

How can a pam_exec script access mounts performed by pam_mount? I have a working auth optional pam_mount.so PAM configuration such that the device is not mounted before entering the passphrase (tested ...
Ross Patterson's user avatar
5 votes
1 answer
231 views

I am having an issue that is only present since about April after updating packages. When I am accessing servers and use sudo su or sudo -s to access root and enter my password, I'll get: sudo: PAM ...
JCrowder's user avatar
3 votes
1 answer
143 views

I have an /etc/pam.d/dcv file (goes with nice-dcv) and it has just these two lines: auth include password-auth account include password-auth my problem is a security request to include a ...
ron's user avatar
  • 9,175
1 vote
1 answer
2k views

Debian 12 Bookworm; Inspecting the SSH system log, there is always a trailing grayed-out message at the end of each log entry: pam_env(sshd:session): deprecated reading of user environment enabled I ...
Vlastimil Burián's user avatar
0 votes
2 answers
136 views

Following this post I created my own version of the script, with the difference that user and password are forwarded from the environment variables: #!/bin/zsh pamtester login $user authenticate <&...
Namal's user avatar
  • 101
1 vote
1 answer
91 views

Since upgrading from CentOS 7 to Rocky Linux 8 our PAM maxlogins limit is no longer being enforced for SFTP sessions. SFTP users belong to the sftp group and we have this in /etc/security/limits.d/10-...
drjeep's user avatar
  • 125
0 votes
1 answer
217 views

My primary goal is to allow users in a specific group to execute programs requiring the cap_sys_admin capability (e.g., perf) after SSH-ing into Ubuntu 22.04. A simple solution is modifying ...
lei hu's user avatar
  • 103

15 30 50 per page
1
2 3 4 5
46