Solved

How to secure remote access (.rhosts) on Solaris and  linux

Posted on 2011-09-14
1
408 Views
Last Modified: 2013-12-28
Hi thanx for giving the solution to securee remote acces on aix (link bellow)
http://www.experts-exchange.com/OS/Unix/splitPoints.jsp?qid=27307052&aid=36534719


I need the same thing for solaris and linux
0
Comment
Question by:cismoney
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 36535562
Solaris < 10:

Edit /etc/inetd.conf, comment out the relevant lines (shell, login, exec) and restart inetd:
Find the PID of inetd using "ps -ef | grep inetd |grep -v grep" (the PID is in the second column) and issue
"kill- HUP PID".

Solaris > 10:

Use inetadm. "inetadm -p" will ist the services, "inetadm -d service" will disable them.

Linux:

It depends on whether you're using inetd or xinetd.

With inetd it's the same as with Solaris < 10, with xinetd go to /etc/xinetd.d, search the relevant files there and change "DISABLE" to "yes" inside using an editor. When finished issue "/etc/rc.d/init.d/xinetd restart"

wmp
0

Featured Post

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question