user based ftp and sendmail restriction
Hi all,
Do anyone know how we can disable the sendmail and ftp client from linux box based on user account? For example. i want to disable user A only not able to use the entire services from all my linux box. Thanks.. |
I've never tried it but I think you can do it with /etc/hosts.allow and /etc/hosts.deny. For example:
/etc/hosts.allow: ALL: ALL /etc/hosts.deny: smtp: user@example.com vsftp: user@example.com This will enable all users and disable user@example.com from access. Try it. |
All times are GMT -5. The time now is 05:36 AM. |