[expert] rsh - Permission Denied

2001-08-18 Thread John J. LeMay Jr.
Hi folks, I'm trying to use rsh from my LM7.2 server to connect to my LM8.0f1machine and I'm receiving the following on the LM8.0f1 box: Aug 18 17:31:33 logan pam_rhosts_auth[4471]: allowed to root@cyclops as root Aug 18 17:31:33 logan in.rshd[4471]: rsh denied to root@cyclops as root: Permissio

Re: [expert] rsh - Permission Denied

2001-08-19 Thread Laurent CREPET
On Sat, Aug 18, 2001 at 05:34:26PM -0400, John J. LeMay Jr. wrote: > Hi folks, > > I'm trying to use rsh from my LM7.2 server to connect to my LM8.0f1machine and > I'm receiving the following on the LM8.0f1 box: > > Aug 18 17:31:33 logan pam_rhosts_auth[4471]: allowed to root@cyclops as root > A

Re: [expert] rsh - Permission Denied

2001-08-19 Thread John J. LeMay Jr.
** Reply to message from Laurent CREPET <[EMAIL PROTECTED]> on Sun, 19 Aug 2001 15:21:10 +0200 > # For root login to succeed here with pam_securetty, "rsh" must be > # listed in /etc/securetty. Thanks Laurent. I had found this, however I wasn't sure how to add rsh to the file. I tried adding "r

Re: [expert] rsh - Permission Denied

2001-08-19 Thread Laurent CREPET
On Sun, Aug 19, 2001 at 09:50:09AM -0400, John J. LeMay Jr. wrote: > ** Reply to message from Laurent CREPET <[EMAIL PROTECTED]> on Sun, 19 Aug 2001 > 15:21:10 +0200 > > > > # For root login to succeed here with pam_securetty, "rsh" must be > > # listed in /etc/securetty. > > Thanks Laurent. I

Re: [expert] rsh - Permission Denied

2001-08-19 Thread DM
i think you need to put 'rlogin' as well as 'rexec' --- "John J. LeMay Jr." <[EMAIL PROTECTED]> wrote: > ** Reply to message from Laurent CREPET > <[EMAIL PROTECTED]> on Sun, 19 Aug 2001 > 15:21:10 +0200 > > > > # For root login to succeed here with > pam_securetty, "rsh" must be > > # listed

Re: [expert] rsh - Permission Denied

2001-08-19 Thread John J. LeMay Jr.
** Reply to message from Laurent CREPET <[EMAIL PROTECTED]> on Sun, 19 Aug 2001 16:06:39 +0200 > Just adding 'rsh' should work. Did you check if rsh works with another user ? > If not, check /etc/xinetd.d/rsh. It musts exist, and should not be disable > (see disable parameter in the file). > >

Re: [expert] rsh - Permission Denied

2001-08-19 Thread John J. LeMay Jr.
** Reply to message from DM <[EMAIL PROTECTED]> on Sun, 19 Aug 2001 07:08:14 -0700 (PDT) > i think you need to put 'rlogin' as well as 'rexec' That didn't seem to help either. Unfortunately the message log doesn't tell me any more than "permission denied for root@host" and what the command I at

Re: [expert] rsh - Permission Denied

2001-08-19 Thread Michael D. Viron
>That didn't seem to help either. Unfortunately the message log doesn't tell me >any more than "permission denied for root@host" and what the command I attempted >was, ls. > >John LeMay Jr. >Senior Enterprise Consultant >NJMC, LLC. Maybe try adding the hostname / IP to /etc/hosts.allow? Michael

Re: [expert] rsh - Permission Denied

2001-08-19 Thread John J. LeMay Jr.
** Reply to message from "Darcy Brodie, CJL" <[EMAIL PROTECTED]> on Sun, 19 Aug 2001 10:55:02 -0600 > I believe that you will have to put this beside > each of the tty enteries Checking the man page for sercuretty, it seems to indicate a single entry per line - one for each device. I'm no geniu

Re: [expert] rsh - Permission Denied

2001-08-19 Thread Erik Kaffehr
Hi! I think that you need an entry host root in the other machines /root directory So if you would like to do rsh from ngk to champion I would add the line ngk root to the /root/.rhosts file. The file should have 644 permission I think. And using ssh may be a better idea if you have anyt

Re: [expert] rsh - Permission Denied

2001-08-19 Thread John J. LeMay Jr.
** Reply to message from Erik Kaffehr <[EMAIL PROTECTED]> on Sun, 19 Aug 2001 22:07:51 +0200 > So if you would like to do rsh from ngk to champion > > I would add the line > > ngk root > > to the /root/.rhosts > Thanks Erik. I have already created the .rhosts file on the remote machine - tri

Re: [expert] rsh - Permission Denied

2001-08-19 Thread Michael D. Viron
>If I could resolve the ssh issue (20 second timeout on connect if connecting >with hostname as opposed to ip address) I would switch. I use ssh as opposed to >telnet from my Windows machines with no problems. > >John LeMay Jr. >Senior Enterprise Consultant >NJMC, LLC. Have you tried adding the n

Re: [expert] rsh - Permission Denied

2001-08-19 Thread John J. LeMay Jr.
** Reply to message from "Michael D. Viron" <[EMAIL PROTECTED]> on Sun, 19 Aug 2001 16:42:03 -0500 > Have you tried adding the name and IP to /etc/hosts? For that matter, have > you tried running your ssh connect command in verbose mode? If so, run it > again, and post the output here. The ho

Re: [expert] rsh - Permission Denied

2001-08-20 Thread DM
when i added rlogin, rexec and rsh on my /etc/securetty file it looks like this: tty10 tty11 rlogin rexec rsh rsh stuff worked after i added those. --- "John J. LeMay Jr." <[EMAIL PROTECTED]> wrote: > ** Reply to message from "Darcy Brodie, CJL" > <[EMAIL PROTECTED]> on Sun, 19 Aug > 2001 10

Re: [expert] rsh - Permission Denied

2001-08-20 Thread Larry Sword
"John J. LeMay Jr." wrote: > > ** Reply to message from "Michael D. Viron" <[EMAIL PROTECTED]> on Sun, 19 > Aug 2001 16:42:03 -0500 > > > Have you tried adding the name and IP to /etc/hosts? For that matter, have > > you tried running your ssh connect command in verbose mode? If so, run it > >

Re: [expert] rsh - Permission Denied

2001-08-20 Thread Larry Sword
Larry Sword wrote: Scratch the previous message. Appears that I didn't read fully or correctly, I see you are running and connecting as root. Larry > > "John J. LeMay Jr." wrote: > > > > ** Reply to message from "Michael D. Viron" <[EMAIL PROTECTED]> on Sun, 19 > > Aug 2001 16:42:03 -0500 > > >

Re: ssh configuration (was Re: [expert] rsh - Permission Denied)

2001-08-19 Thread Michael D. Viron
>The hosts file is already setup correctly, and here's the output (pausing for a >long time - this took a bit more than a minute this time): > Have you tried adding cyclops to the /etc/hosts file on logan? It looks like it's trying to lookup cyclops on logan, and is timing out before allowing yo