How to secure remote access (.rhosts) on AIX

Posted on 2011-09-14
Last Modified: 2012-05-12

I am new to AIX. I wonder how to make remote access (.rhosts) secure. Please help
Question by:cismoney
  • 3
  • 2
LVL 68

Assisted Solution

woolmilkporc earned 250 total points
ID: 36534719
The only way to make it secure is disabling it. Use ssh instead.

To disable .rhosts access go to "smitty inetdconf", choose "Remove an inetd Subserver",
select "shell" and hit Enter.
Repeat this for "exec".

LVL 21

Accepted Solution

Papertrip earned 250 total points
ID: 36534836
chsubserver -r inetd -C /etc/inetd.conf -d -v login -p tcp
refresh -s inetd

Open in new window

LVL 68

Expert Comment

ID: 36534875
OK, I forgot:

Repeat the "smitty inetdconf" steps I gave you above for "login" as well.
LVL 21

Expert Comment

ID: 36534878
Hi wmp :)
LVL 68

Expert Comment

ID: 36534905
Hi Papertrip! LTNS!

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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 ( 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 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 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…

919 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