How to secure remote access (.rhosts) on AIX

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

I am new to AIX. I wonder how to make remote access (.rhosts) secure. Please help
Question by:cismoney
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
  • 3
  • 2
LVL 68

Assisted Solution

woolmilkporc earned 1000 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 1000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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…
Suggested Courses
Course of the Month13 days, 23 hours left to enroll

801 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