Pluggable authentication modules, a flexible framework for configuring authentication, most commonly the login component of Linux systems, but used in other components and operating systems.
Questions tagged [pam]
752 questions
0
votes
1 answer
Per-user umask over all ssh connections
Following on from How to setup ssh's umask for all type of connections
Is it possible to do this on a per-user basis? Here's what I have at the minute:
/etc/pam.d/ssh
sesssion optional pam.umask.so umask=0027
Thanks.

The Pixel Developer
- 857
- 3
- 10
- 20
0
votes
1 answer
FreeBSD 8.2 + Apache 2.2 + mod_auth_pam2: unable to authenticate
I've installed Apache 2.2 and mod_auth_pam2 from ports, but I can't get local UNIX authentication to work. When I access the protected part of my local website, I do get the authentication request, and with pam_permit.so, it works. However, when I…

zneak
- 328
- 2
- 14
0
votes
1 answer
Using PAM from svnserve without Apache
I am investigating the options for upgrading a Subversion 1.4 server to 1.6.
I have been told by colleagues here that in an ideal world we should be moving towards using PAM to authenticate the Subversion users.
Currently Subversion is running as an…

Rich
- 1,343
- 7
- 28
- 39
0
votes
1 answer
Is it a bug that pam-auth-update does not enable SSSD even when checked?
I am using sssd to authenticate and identify users from AD using Kerberos and LDAP, however, I have to add auth/session/account sufficient pam-sss.so to /etc/pam.d/common-* files even if I check SSS authentication in pam-auth-update. Is this a bug…

Kimvais
- 315
- 3
- 17
0
votes
1 answer
PAM authentication failure with HTTP Basic auth and mod_auth_pam on Apache
I'm trying to set up HTTP Basic auth with PAM on Apache (running on Ubuntu 10.04).
I have a VirtualHost setup with SSL and the options below for HTTP Basic authentication:
AuthBasicAuthoritative off
AuthPAM_Enabled On
AuthType Basic
AuthName…

Andrei
- 463
- 2
- 5
- 12
0
votes
2 answers
Ubuntu 11.04 pam_userdb.so missing
We just upgraded Ubuntu Server 10.10 to 11.04. After this upgrade, it seems Vsftpd with pam_userdb logins no longer work. I was investigating this and it seems /lib/security/pam_userdb.so is missing.
This is very strange, and even if I do sudo…

Andr
- 3
- 1
- 2
0
votes
2 answers
Cannot use PAM authent for SMTP connection
I'm trying to setup PAM authentification for SMTP client connection. So to authent for SMTP to send mail, using the same as the login to the host.
The log says:
2011-04-28 20:19:31 plain_pam authenticator failed for xxxx ([x.x.x.x]) [x.x.x.x]: 535…

PeterMmm
- 895
- 16
- 28
0
votes
1 answer
Unix samba accounts sync issue
I have installed samba-server, libpam-smbpass and smbclient on my ubuntu 10.04. And I have uncommented the following in my smb.conf file:
security = user
[homes]
comment = Home Directories
browseable = no
read only = no
ANd I created a…

nixnotwin
- 1,543
- 5
- 35
- 55
0
votes
2 answers
PAM : Reject the standard password
I want to reject our standard password in pam for the services until the user change it. It is a fixed password, well known by our users, but I don't know how I can configure pam to refuse it. I check cracklib, but it works only on password change,…

Dom
- 6,743
- 1
- 20
- 24
0
votes
1 answer
vsftpd Unable to log in to ftp using Berkeley DB (V4) databases and PAM (pam_userdb.so)
I just recently tried setting up vsftpd, following this nixCraft article on cyberciti and their article to set up virutal users.
I can connect using ftp localhost but it doesn't recognize the username vivek as pointed out by the log:
vsftpd:…

user29600
- 419
- 5
- 17
- 30
0
votes
1 answer
How to grant a kerberos ticket after successful imap authentication from dovecot
An interesting question, I hope.
I am running a set of virtual machines under debian 6, to build a mail/collaboration server. I am mainly using dovecot, postfix, openldap and heimdal. Mails are stored using maildir, on a NFSv4 share.
My users are…

Andre Rodier
- 1
- 2
0
votes
1 answer
Authentication failure of OpenVPN client against Active Directory
I'm getting the following error (client side) when connecting to my OpenVPN server:
AUTH: Received AUTH_FAILED control message
and on the server I get thefollowing error message in teh openvpn logs:
AUTH-PAM: BACKGROUND: user 'myUsername' failed to…

Alex Q
- 135
- 1
- 8
0
votes
1 answer
Solaris ldap Authentication
Iv been having a trouble trying to get my Solaris 10 server to authenticate against an eDir server.im managed to Set up my linux(RHeL,SLES) servers to authenticate against the ldap Server.which works fine.
Here is my configuration Files.
ldapclient…

Tman
- 111
- 7
0
votes
1 answer
LikewiseOpen and pam_access
We have a combination of RHEL5 and SLES11 servers that integrate with Active Directory via LikewiseOpen. What I'm wondering is in what place should I put the pam rule to allow pam_access to be correctly used as part of the authentication of users.

Matt Delves
- 483
- 2
- 6
- 12
0
votes
1 answer
PAM setup with pam_ldap
I am running ubuntu 10.10 and trying to setup pam with pam_ldap.
The guide at: http://wiki.debian.org/LDAP/PAM says, among other things:
In order to globally enable LDAP authentication through PAM, configure /etc/pam_ldap.conf accordingly and edit…

NinjaCat
- 576
- 1
- 9
- 21