?
Solved

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

Posted on 2011-09-14
1
Medium Priority
?
409 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 2000 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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
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…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.
Suggested Courses
Course of the Month9 days, 19 hours left to enroll

762 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