Solved

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

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

733 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