pam_listfile.so not blocking root login using telnet
Hello All,
I am trying to block telnet login for "root". I am using pam_listfile.so module to achieve this. but pam_listfile.so module is failing to block the root login. I have added the following line in /etc/pam.d/login file PHP Code:
When I checked the log, I found the below lines. PHP Code:
Warm Regards, Vijay |
The telnet server isn't built with the PAM libraries. It may not even be built with the libwrap library. Try using xinetd to launch and control it or use hosts.deny. Be sure to test your solution. It may not work. Please consider using SSH instead.
|
Thanx for the reply. I'll check the telnet build.
|
You can simply use "ldd /sbin/in.telnetd" to check for the external libraries loaded. I temporarily installed the telnet-server package to check for libpam (and quickly removed it like a cancer) but didn't remember if libwrap was used.
|
All times are GMT -5. The time now is 03:48 PM. |