When I add people to /etc/security/access.conf to prevent them from loging on with telnet or SSH it's now working... I mean no changes to loging allowance... I put the line -:cybertgp:ALL and it didn't make any change. cybertgp is still allowed to logon in telnet... :) BTW, is there anyway to allow him to login via FTP and not Telnet nor SSH? I should prevent anyone from login with cybertgp accounts, but it doesn't work.
The default PAM configuration as shipped does not make use of pam_access. If you wish to use its facilities, you'll need to add this line to the appropriate control file in /etc/pam.d: account required /lib/security/pam_access.so It should work then.
Closed due to inactivity.