Solved

rsh just quit working w/o p/w

Posted on 2004-04-28
6
397 Views
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.
0
Comment
Question by:macs6rule
6 Comments
 
LVL 7

Expert Comment

by:fim32
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?
0
 
LVL 48

Expert Comment

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

Why are you using rsh instead of ssh?
0
 
LVL 62

Expert Comment

by:gheist
ID: 10944543
maybe server host cannot resolve host where users live (broken dns or /etc/hosts)
0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
LVL 51

Accepted Solution

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

Expert Comment

by:glassd
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.
0
 
LVL 48

Expert Comment

by:Tintin
ID: 10991957
And the answer in the log file was????
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

786 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