LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-31-2014, 10:20 AM   #1
massy
Member
 
Registered: Nov 2013
Distribution: CentOS 6.4
Posts: 209
Blog Entries: 1

Rep: Reputation: Disabled
What is the best way to limit users access to a server?


I need to config my server so that users only be able to access some ports like as mysql or mail! what is the best way to do that?and what services are more appropriate to do it?
 
Old 06-01-2014, 01:48 AM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Quote:
I need to config my server so that users only be able to access some ports...
That's firewall
Quote:
like as mysql
That's a group control, not firewall, you have to open the mysql port on the firewall, but access to the engine is controlled by group (mysql group) rights
Quote:
or mail
See mysql

Try this, type "#groups" and figure out what every one of those groups is for. If you get stuck, post back, but that will give you a better grasp of how to control access to your server.
 
1 members found this post helpful.
Old 06-02-2014, 03:21 AM   #3
eklavya
Member
 
Registered: Mar 2013
Posts: 636

Rep: Reputation: 142Reputation: 142
You can define iptables rules for specific group or specific user.
Here is the hint, how can you do this.
http://www.linux-noob.com/forums/ind...ports-and-ips/
 
  


Reply



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
Access limit of users in OpenLDAP melive Linux - Server 1 05-03-2013 11:44 AM
Limit Users access to mail aliases addressing under same domain shqnayaz Linux - Server 0 10-06-2010 10:58 PM
[SOLVED] pam_listfile to limit users domain users SSH access r3z Linux - Enterprise 5 09-19-2009 01:25 AM
samba on fc9, how to limit access to users joemarceo Linux - Newbie 2 10-08-2008 02:20 AM
Data Access Limit to Users Gaurav Wadhwa Linux - Enterprise 6 02-28-2005 03:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:01 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