[CentOS] pam_access not working?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

I am having a strange problem, where I cannot get pam_access to work as intended. I have placed the following line in /etc/pam.d/system-auth

account     required      /lib/security/pam_access.so

Then, in /etc/security/access.conf, I have put the following line:

-:mok:10.14.44.104

I.e. I should prevent myself from logging on from host 10.14.44.104. However, when I try to log on (using ssh) from the specified host, I get in without a problem. There is nothing in the logs. It does not help restarting sshd, or rebooting. It does not help putting "ALL" instead of the IP number. I happily get in...

Another weird thing is that if I give the argument "debug" to pam_access.so -- as the manual says you can -- it does say something in the log, namely that "debug" is not a recognized option.

The system is CentOS release 4.4.

I hope someone on this list can offer a bit of advice!

Cheers,
Morten

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux