Solved

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

Posted on 2011-09-14
1
406 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
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
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.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

789 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