Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
718 views

pam radius bypass same local user (exception user)

Pam Radius login works with the following configuration. However, it would be necessary for some users to perform local authentication. How can I solve this? [xxxxxxxxxxx ~]# cat /etc/pam.d/sshd #%PAM-...
dilen7's user avatar
  • 1
1 vote
1 answer
1k views

Recovering CentOS from bad pam configuration

I have a bad PAM configuration got configured on a server. Attempting to ssh in only gives the error "Authentication Failed" though, verbose mode in SSH shows the authentication being successful. ...
Jesse P Lesperance's user avatar
0 votes
1 answer
897 views

SSH not working on CentOS 6.5 (PAM authtentication error)

An user called chcsouza tried to access the service1 host from service0 host, but receive the message: Connection closed by 172.23.0.4 172.23.0.4 is the service1 IP Older users can ssh to this host....
Pedro Klisley's user avatar
0 votes
1 answer
272 views

x2go session hangs if logging in using PBIS Open (Likewise Open)

I have x2go server installed on CentOS 7. I can create an x2go client session without any problems using a local system user account. The server also allows Active Directory logins via PBIS Open and I ...
apeman's user avatar
  • 101
2 votes
1 answer
1k views

Writing a pam_python module: "KeyError: getspnam(): name not found"

I'm using a pam_python module to log usernames and passwords used in SSH attempts. in /etc/pam.d/sshd I added this line: auth requisite pam_python.so /lib64/security/pwreveal.py This is /...
Exbi's user avatar
  • 373
2 votes
1 answer
2k views

CentOS 7 SSH and 2FA (ESET Secure Authentication)

I am stuck at getting two factor-authentication in CentOS 7 to work; specifically the authentication via SSH and OTP. I would very much appreciate it if someone could assist me with this. :) Edit: ...
pomf's user avatar
  • 21
1 vote
1 answer
2k views

Local credentials used when radius server is available sshd pam_radius

I have pam_radius setup and it works (centos6, pam_radius: 1.4.0-2.el6), i can authenticate via the radius server using ssh. What i am trying to accomplish is that when the radius server is ...
Thijn's user avatar
  • 11
0 votes
3 answers
751 views

Disable ssh login on specified time for particular users

I would like to disable ssh login to my system for particular users say X,and Y on specified time 17.00 to 18.00. so how to achieve this ? any help would be appreciated.
Rahul's user avatar
  • 67
0 votes
1 answer
1k views

Run pam_exec after home directory creation CentOS 6

How can I make a pam_exec script in /etc/pam.d/sshd run after the home directory has been created? I am on CentOS 6.5 and use network accounts via PBIS / Likewise-Open. Right now, if a new user ...
GeneBean's user avatar
  • 323
1 vote
1 answer
896 views

Cannot login as root to centos server

I used to login as ssh root@servip with a password authentication into my CentOS 6 server. I am not sure if what I have done has caused this, but while trying to get over my problem of accessing ...
perpetual_dream's user avatar
4 votes
1 answer
2k views

Force SHA when user changes LDAP password using passwd

I'm trying to setup PAM/LDAP so that when a logged in SSH user changes their password using passwd, it encrypts the password with SHA1 before updating the LDAP entry. I have this # /etc/ldap.conf ... ...
Jake Wilson's user avatar
  • 9,073