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
2 answers
Telnet without passwords
Back in the days of Redhat 9 I set up networks using dumb terminals that used telnet to log in to the server. And simply by deleting the 'X' in /etc/passwd for the user, the user could log in with a user name only. This allowed easy operation of the…

simplr
- 520
- 5
- 11
0
votes
0 answers
Postfix+saslauthd: pam_unix(smtp:auth): authentication failure
I'm run postfix 2.10 + Cyrus sasl 2.1 + Dovecot 2.2 on Oracle Linux 7.
Dovecot works with saslauthd normally, but Postfix always failed on authentication, wish someone can help to check what problem it is.
The testing steps as below:
telnet tiger…

Yun Wang
- 1
- 1
- 2
0
votes
1 answer
passwd: Module is unknown when creating CentOS 7 domU on Jessie
DomU created by xen-tools using the command below:
sudo xen-create-image --hostname=test --dhcp --memory=256mb --install-method=rinse --dist=centos-7 --arch=amd64 --lvm=VM --bridge=xenbr-48 --noswap --fs=ext4 --size=5Gb
Everything goes well…

Karol Jędrzejczyk
- 133
- 2
- 12
0
votes
1 answer
pam_exec in linux mint does not work
I am trying to run a script when a user logs in using pam_exe.so.
/etc/pam.d/common-sesion is:
session required pam_unix.so
session optional pam_sss.so
session optional pam_systemd.so
session optional pam_ecryptfs.so unwrap
session…

anikomei
- 1
- 2
0
votes
1 answer
can't su to a local account
I am trying following this guideto give root privileges to a user called deploy.
But I am unable to su to deploy user.
Steps I have taken,
logged in as a root user then I added the deploy which is a local user
su deploy (giving the deploy users…

Shani
- 101
- 1
0
votes
1 answer
CentOS 6 ssh is not prompting for the verification code?
I have installed the pam radius rpm package, and successfully configured /etc/pam.d/sshd, /etc/ssh/sshd_config, & /etc/pam_radius.conf. I know it is working, as i am getting a push notification to my handheld device after i enter my password. When I…

Winn
- 31
- 2
0
votes
2 answers
VSFTPD error 530 on fresh install
I need to setup an FTP server and SFTP server on EC2 supporting both password and cert logins. I just used the stock RHEL and Amazon AMI's and I can't login to either.
$ sudo yum install vsftpd
$ sudo adduser someuser
$ sudo passwd someuser
#edit…

Ziplin
- 485
- 2
- 4
- 16
0
votes
1 answer
Activating PAM configuration for Percona
I'm trying to configure Percona with LDAP support via PAM including group mappings and restriction. My Percona authentication setup is as follows:
INSTALL PLUGIN pam SONAME 'auth_pam.so';
create user 'dba'@'%' IDENTIFIED WITH auth_pam AS…

HonoredMule
- 187
- 11
0
votes
1 answer
sftp prompt hangs on ls with chroot users authenticated with pam_mysql
OS: ubuntu 14.04
I setup pam_mysql, and it's working. I can login sql users via regular ssh/sftp just fine. The problem comes when I try and sftp using CHROOT sql users. Anytime ls is entered it hangs.
sshd log:…

Kyle
- 31
- 1
0
votes
1 answer
Why is the $PAM_RHOST env var not set by openssh-server
I have a script running called from /etc/pam.d/sshd with the following line:
session optional pam_exec.so /usr/local/bin/notify-login
The script gets called as expected everytime someone logged in via ssh. But since August 2016 the…

High Ball
- 478
- 4
- 11
0
votes
1 answer
user not being associated with ldap group membership by id
I have an existing set of Centos 5.4 servers that restrict login based on being a uniquemember of an ldap group vizusers. The users can be a direct uniquemember of the group or be a member of a group that is a uniquemember of vizusers.
I am trying…

Bryan Bales
- 1
- 2
0
votes
0 answers
configure linux login against active directory ldap
I have a bit of a complicated situation and I haven't yet been able to solve it with the information I found here and the internet.
I have a user that is allowed to bind to the backend ldap server to an Active Directory domain. I have a few linux…

Max
- 101
- 1
0
votes
1 answer
Using server IP in PAM LDAP query
In our company we have a lot of servers (at this moment arount 20, numbers increasing). Not all LDAP users are allowed to get access to the same servers.
My Idea is to make one user group per server and use somehow the IP address of the server to…

Tobi
- 237
- 3
- 12
0
votes
1 answer
How to change the Default Shell Properties to Bash for non-local accounts that users Active Directory
We did an integration of CentOS 6 with Active Directory. I would like to know how to change the Default Shell Properties to Bash for non-local accounts.
For the local accounts we use chsh -s /bin/bash [username]
So please help me here with the right…

harry
- 1
0
votes
0 answers
SLES12, Authentication with PAM and LDAP
I want to set up an ssh-server which can authenticate against a ldap-server. The ldap-server is already running (openldap). Now I've installed a fresh SLES12SP1-Server and followed some tutorials for setting up the pam module, but sles is rarely…

Merti Berg
- 1
- 1