From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,d77457b034cf61c9 X-Google-Attributes: gid111c93,public From: Daniel Tryba Subject: Re: Rsh and rexec Date: 1997/11/25 Message-ID: <65fnm6$b8m@tuegate.tue.nl>#1/1 X-Deja-AN: 292674218 References: <65eu3o$j5f$1@news.cict.fr> Organization: Eindhoven University of Technology, The Netherlands User-Agent: tin/pre-1.4-971106 (UNIX) (Linux/2.0.30 (alpha)) Newsgroups: comp.os.linux.alpha Eric Bordenave wrote: : I have problems with commands rexec and rsh : For example : rsh host_target "lp" < file gives the error message : Permission denied. : The /Etc/printcap is normally configured for the printer : The host can print on the target (/var/spool/.../Systems) : There isn't /etc/hosts.deny on the target : If I use a file .rhosts on the target tu run a r-command I have : always Permission denied. It seems you havbe the same problems I id have, my solution is to put the machines you try to rlogin/rsh etc. in from in /etc/hosts.equiv. This solution isn't the best but it works. BTW I noticed there are other things broken in the alpha pamstuff (like preventing nonwheel users to su to root). BTW2 Even putting machines in /etc/hosts.equiv won't always work . I have at least one machine in /etc/hosts.equiv that also gets permission denied in r.... stuff. Hope this helps.