keng@hpuecoa.HP.COM (Ken Garrido-MMC) (07/13/89)
I'm having some troubles getting rlogin and remsh to work on an HP9000/370 running HP-UX 6.2 I have created $home/.rhosts and it contains the following line: tosgcla scott On this system hostname = tosgcla, my $home is /users/devlp/scott /etc/hosts contains the following entry: 129.243.41.70 TOSGCLA tosgcla #HP9000/370 /etc/hosts.equiv contains the following entries: tosgcla toscad lynx The previous mentioned files have the following permissions: -r--r--r-- 1 root other 12527 Jul 11 12:54 /etc/hosts -rw-r--r-- 1 root other 184 Jul 11 10:11 /etc/hosts.equiv -rw-r--r-- 1 scott devlp 14 Jul 13 10:03 .rhosts If I attempt an rlogin tosgcla it will prompt me for a passwd and then log me in. I am unable to stop the prompt for passwd. And when I try something like remsh tosgcla lp /etc/passwd (or any other type of command) I get remshd: Permission denied. I have tried numerous configurations e.g. no /etc/hosts.equiv and only $home/.rhosts, no $home/.rhosts and only /etc/hosts.equiv but to no avail. I have also tried a verbose shell trace to see if some alias was corrupting things. Nothing. I tried to look for symbolic links between file but didn't see anything of interest. Any and all help would be appreciated. Thanks Scott Pinkerton (:-) E-mail: ncar!dinl!tosgcla!scott Voice: (303) 977-4736
edwin@cs.ruu.nl (Edwin Kremer) (07/17/89)
In article <6830001@hpuecoa.HP.COM> keng@hpuecoa.HP.COM (Ken Garrido) writes: >I'm having some troubles getting rlogin and remsh to work on an >HP9000/370 running HP-UX 6.2 [... a lot deleted ...] You might want to check "/usr/adm/inetd.sec" (NOTE: "/usr/adm" is a CDF !!!) I won't be surprised if a line or two like login deny from_your_host shell allow not_from_your_host show up.... For more info, see the manual "Installing and Maintaining NS-ARPA Services", chapter 4 "Configuration and Maintenance". Good luck !! --[ Edwin ]-- -- Edwin Kremer, Department of Computer Science, University of Utrecht Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands Phone : +31 - 30 - 534104 | Telefax: +31 - 30 - 521105 E-Mail: edwin@cs.ruu.nl | UUCP to: ...!hp4nl!ruuinf!edwin
keng@hpuecoa.HP.COM (Ken Garrido-MMC) (07/20/89)
Thank you to all those who responded -or- provided assistance on this problem. Everything is clear (once you know the answer). As I had indicated the hosts file was as shown below. Note that the true hostname is TOSGCLA, tosgcla is only an alias. Hence when I added TOSGCLA to $home/.rhosts then it was happy. /etc/hosts contains the following entry: 129.243.41.70 TOSGCLA tosgcla #HP9000/370 Again, thanks to those who responded. Michael Corrigan - I tried to respond to you but mail died @ UCSD!weber.UCSD.EDU!corrigan%gatech with a timeout waiting for input. By the way, on the 9000/300's remshd lives in /etc/remshd and has the following permissions. -r-xr--r-- root bin ... Scott Pinkerton (:-) E-mail: ncar!dinl!tosgcla!scott Voice: (303) 977-4736 ----------