rsh just quit working w/o p/w

Posted on 2004-04-28
Medium Priority
Last Modified: 2010-04-21
Can a power outage of your facility - in spite of a lot of UPS(s) - can this affect an AIX box running rsh? Ours was working perfectly but since the outage, rsh wants a password for all users. Nothing was changed in the directories nor can we see anything we need to re-set. Many thanks.
Question by:macs6rule

Expert Comment

ID: 10941677
perhaps some files were corrupted during the power loss, or something else is down?

i would check the basics for rsh, like the /etc/hosts.equiv file or the .rhosts file for the user you're trying to execute commands as.  perhaps name resolution is no longer returning a name that matches in this file?
LVL 48

Expert Comment

ID: 10944124
How was rsh setup?  /etc/hosts.equiv or .rhosts files?

Why are you using rsh instead of ssh?
LVL 62

Expert Comment

ID: 10944543
maybe server host cannot resolve host where users live (broken dns or /etc/hosts)
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

LVL 51

Accepted Solution

ahoffmann earned 750 total points
ID: 10966613
please check /var/log/{messages,syslog} on the server, and post relevant messages if any

Expert Comment

ID: 10976320
What files are you using to avoid password requirements. Check their contents AND permissions. AIX likes them to be read-only and users .rhosts should be readable only by them.

If the files contain a short host name, try including a line with the fully qualified name. I've known this to be a problem.
LVL 48

Expert Comment

ID: 10991957
And the answer in the log file was????

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

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

619 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