Solved

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

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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…
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…

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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now