From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653755322177.tru64-unix-managers.marc@archive.invalid> From: "Rost, Werner" Date: Wed, 03 Apr 2002 15:08:57 +0000 To: tru64-unix-managers Subject: SUMMARY: permission denied X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653755322177 Hello admins, the problem is solved. Thanks to Prasad, Sreenivasa [sreenivasa.prasad@digital.com] LHERCAUD@bouyguestelecom.fr Selden E Ball Jr [SEB@LNS62.LNS.CORNELL.EDU] for the quick answers. Problem description: see below. Selden E.Ball led me to the solution: "The name of the remote system as listed in .rhosts must match the name=20 that is returned by nslookup on the system containing the .rhosts file=20 and/or it must match what is listed in /etc/hosts on that system. It sounds to me like you might have inconsistant system naming. Some of your systems may not be registered with your internet nameservices or may not be listed in /etc/hosts." Ok, entries in .rhosts are ips, not names. But after deleting in /etc/hosts at "C" the entry for "S" rsh command works. Next I "undeleted" the entry in /etc/rhosts and entered this name in /.rhosts. Again rsh works. I observe following rules: - if there exists no entry for "S" in /etc/hosts: put the ip of "S" into /.rhosts. - if there exists an entry for "S" in /etc/hosts: put the name of "S" into /.rhosts. Thanks again to the list, have a nice week. Mit freundlichen Gr=FC=DFen / regards Werner Rost Hello admins, let me tell you about a nice little problem: I have 4 ALPHA workstations with tru64 5.1A patchkit 2 which I will call "A", "B", "C", "S". A, B, C should allow user root of S rsh commands. Therefore I created a file /.rhosts on A,B,C: # ls -al .rhosts -rw------- 1 root system 21 Apr 3 14:58 .rhosts # # Content of .rhosts: " root" Now the nice facts: User root on "S": rsh "A" ls ok rsh "B" ls ok rsh "C" ls Permission denied !!! Another test: I changed /.rhosts on "C" allowing access from "A". Logging on on Host "A" as root the command rsh "C" ls works fine. ---> I am not able to let "S" acess "C" !!! I see no messages in any log files on "S" or "C" (/var/adm/messages, /var/adm/syslog.dated/current ...) Any ideas? =20 > Mit freundlichen Gr=FC=DFen / regards > Werner Rost >=20 > --------------------------------------------------------------------- > ZF Boge GmbH > Werner Rost > IT > Friesdorfer Str. 175 > D-53175 Bonn >=20 >=20 > phone: +49/228/3825 420 > fax: +49/228/3825 398 > werner.rost@zfboge.com >=20 > www.boge-vibrationcontrol.com > --------------------------------------------------------------------- >=20 >=20 --------------------------------------------------------- This Mail has been checked for Viruses Attention: Encrypted mails can NOT be checked! ** Diese Mail wurde auf Viren geprueft Hinweis: Verschluesselte mails koennen NICHT auf Viren geprueft werden! --------------------------------------------------------- --------------------------------------------------------- This Mail has been checked for Viruses Attention: Encrypted mails can NOT be checked! ** Diese Mail wurde auf Viren geprueft Hinweis: Verschluesselte mails koennen NICHT auf Viren geprueft werden! --------------------------------------------------------- --------------------------------------------------------- This Mail has been checked for Viruses Attention: Encrypted mails can NOT be checked! ** Diese Mail wurde auf Viren geprueft Hinweis: Verschluesselte mails koennen NICHT auf Viren geprueft werden! ---------------------------------------------------------