LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-27-2006, 10:32 PM   #1
ahpin
Member
 
Registered: Oct 2003
Location: Malaysia
Distribution: Redhat, Mandrake 9.1, SuSE Linux
Posts: 32

Rep: Reputation: 15
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..
 
Old 08-28-2006, 03:08 PM   #2
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
user based bandwidth restriction through squid jaychoksi2003 Linux - Security 3 10-23-2005 05:10 AM
Sendmail Mailbox Quote restriction varunbihani Linux - General 4 03-28-2005 09:26 AM
squid : restriction based on operating system minil Programming 2 02-09-2005 11:24 PM
Sendmail Quota Restriction johnlee Linux - General 1 01-22-2002 10:55 PM
FTP Restriction Jason_25 Linux - Networking 2 12-02-2001 04:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration