Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 09-24-2010, 11:58 AM   #1
Registered: Mar 2006
Location: INDIA
Distribution: RedHat, SuSE, Debian
Posts: 166

Rep: Reputation: 16
TCP wrapper question

I heard we can set security in /etc/hosts.allow and /etc/hosts.deny on user base also like something user@domain or something if so how can I restrict a user to access particular service by his/her user name in a particular host via /etc/hosts.allow or /etc/hosts.deny
Old 09-25-2010, 06:03 AM   #2
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
Please read 'man 5 hosts_access' for details and examples. If unsure then, after reading, post an example of what you are going to use to get feedback. (Before you do, do realize that using tcp_wrappers with ident should not be mistaken for a primary or failsafe way of performing user authentication.)

* I have noticed that you have not replied back in approximately fifty percent of the threads you have created over the years and that you sometimes ask very generic questions that any regular user (let alone somebody who lists "System Administrator" as his occupation) should be able to solve by reading the manual pages or by searching LQ for clues. Not responding back causes dangling threads without concrete answers. Providing feedback shows appreciation for your fellow LQ members and seeking closure, by indicating value of the solution offered, creates threads that everyone can benefit from.

Last edited by unSpawn; 09-25-2010 at 06:06 AM. Reason: //Warning
Old 09-28-2010, 01:24 PM   #3
Registered: Mar 2006
Location: INDIA
Distribution: RedHat, SuSE, Debian
Posts: 166

Original Poster
Rep: Reputation: 16
Hi unSpawn

Apologies for this I will take care in the future. But I always feel LQ as my close friend whenever I stuck and found no support from somewhere and way to troubleshoot, I found LQ as my best friend for resolving my issue I always hope if there is way for solving my IT issue ie LQ. Thats why I always used to put my queries in LQ. I learnt many things from LQ and I will be very grateful and want to say Thank you to all LQ members and moderators for this such type of great support.

I will check the man page as you suggested and if I am not able to resolve then I will reply back. Till then bye.

And Thanks for response.

Old 10-07-2010, 05:15 AM   #4
Senior Member
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Ubuntu, Debian, OS X
Posts: 1,305

Rep: Reputation: 107Reputation: 107
Hi Cheema,

Hope you have resolved your query. If so, Kindly mark this thread as solved.


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
Define TCP Wrapper sathish80 Linux - Newbie 5 08-14-2009 09:04 AM
Logging with tcp/wrapper Amit Agarwal Linux - Newbie 1 07-06-2009 11:55 PM
Question on TCP Wrapper usage ciphyre Linux - Security 3 09-15-2008 12:31 PM
About xinetd and TCP wrapper jack1234 Linux - Networking 0 09-15-2005 08:10 AM
xinetd or tcp wrapper ? phoenix99 Linux - Security 2 08-15-2004 05:37 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:26 AM.

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