Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* rsh/rlogin
@ 1997-10-31  7:38 Stephen Tow
  0 siblings, 0 replies; 6+ messages in thread
From: Stephen Tow @ 1997-10-31  7:38 UTC (permalink / raw)


Howdy, 

I have a problems that I have not been able to figure out for the life 
of me...

Why doesn't rsh/rlogin work when logged in as root? It works fine for 
normal users, but not for root. I'm sure this is some sort of security
measure, but is there some way around this? Without it it's pure hell
to try and propagate a common file across a dozen machines.

[==========================================================================]
Stephen Tow                             Email: stow@ssibm4.ssp.ameslab.gov
Ames Laboratory                         Phone: (515)-294-9648
A422 Physics                            Home Phone: (515)-268-0308
Ames, Iowa 50011                        http://www.public.iastate.edu/~stow

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* rsh/rlogin
       [not found] <Pine.A32.3.91.971031012531.32336A-100000@ssibm4.ssp.ameslab.gov>
@ 1997-10-31  9:52 ` Harvey J. Stein
  1997-10-31 14:26   ` rsh/rlogin Rob Zook
  1997-10-31 15:45 ` rsh/rlogin Michal Jaegermann
  1 sibling, 1 reply; 6+ messages in thread
From: Harvey J. Stein @ 1997-10-31  9:52 UTC (permalink / raw)


Stephen Tow writes:
 > Howdy, 
 > 
 > I have a problems that I have not been able to figure out for the life 
 > of me...
 > 
 > Why doesn't rsh/rlogin work when logged in as root? It works fine for 
 > normal users, but not for root. I'm sure this is some sort of security
 > measure, but is there some way around this? Without it it's pure hell
 > to try and propagate a common file across a dozen machines.

It's a security measure.  If you figure out how to use PAM, you can
probably figure out how to enable it.  One way around it is to nfs
mount the dozen machines onto one machine.

Good luck,

-- 
Harvey J. Stein
Berger Financial Research
hjstein@bfr.co.il

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: rsh/rlogin
  1997-10-31  9:52 ` rsh/rlogin Harvey J. Stein
@ 1997-10-31 14:26   ` Rob Zook
  0 siblings, 0 replies; 6+ messages in thread
From: Rob Zook @ 1997-10-31 14:26 UTC (permalink / raw)


At 11:52 AM 10/31/97 +0200, you wrote:
>Stephen Tow writes:
> > Howdy, 
> > 
> > I have a problems that I have not been able to figure out for the life 
> > of me...
> > 
> > Why doesn't rsh/rlogin work when logged in as root? It works fine for 
> > normal users, but not for root. I'm sure this is some sort of security
> > measure, but is there some way around this? Without it it's pure hell
> > to try and propagate a common file across a dozen machines.
>
>It's a security measure.  If you figure out how to use PAM, you can
>probably figure out how to enable it.  One way around it is to nfs
>mount the dozen machines onto one machine.

In /etc/pam.d/rlogin you will find the pam file which controls rlogin
security. Disable the securetty line and you can rlogin as root:

# auth       required   /lib/security/pam_securetty.so
                          ^
Comment out this line ----+
auth       sufficient   /lib/security/pam_rhosts_auth.so
auth       required     /lib/security/pam_pwdb.so shadow nullok
auth       required     /lib/security/pam_nologin.so
account    required     /lib/security/pam_pwdb.so
password   required     /lib/security/pam_cracklib.so
password   required     /lib/security/pam_pwdb.so shadow nullok use_authtok
session    required     /lib/security/pam_pwdb.so

HTH,

Rob Z.
--------------------------------------------------------
Man has such a predilection for systems and abstract deductions that
he is ready to distort the truth intentionally, he is ready to deny 
the evidence of his senses only to justify his logic.
-- Notes from Underground, Fyodor Dostoyevsky

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: rsh/rlogin
@ 1997-10-31 15:42 Robert L. Millner
  0 siblings, 0 replies; 6+ messages in thread
From: Robert L. Millner @ 1997-10-31 15:42 UTC (permalink / raw)


"ST" == Stephen Tow <stow@ssibm4.ssp.ameslab.gov> writes:
ST> Why doesn't rsh/rlogin work when logged in as root? It works fine for 
ST> normal users, but not for root. I'm sure this is some sort of security
ST> measure, but is there some way around this? Without it it's pure hell
ST> to try and propagate a common file across a dozen machines.

Hi.

I have no problems with rsh to a linux box when I setup the appropriate
entry in /root/.rhosts.  Hosts.equiv is not sufficient for root logins.

Obligatory plug for ssh....
	I use it for sysadmining tasks every day.  It is trivial and
quite secure to setup a key that unlocks root on every machine and use
it as a replacement for rsh.  It is possible to setup keys to perform
certain tasks.  I'll be happy to expand on this ad nauseum...

	Rob

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: rsh/rlogin
       [not found] <Pine.A32.3.91.971031012531.32336A-100000@ssibm4.ssp.ameslab.gov>
  1997-10-31  9:52 ` rsh/rlogin Harvey J. Stein
@ 1997-10-31 15:45 ` Michal Jaegermann
  1 sibling, 0 replies; 6+ messages in thread
From: Michal Jaegermann @ 1997-10-31 15:45 UTC (permalink / raw)


> 
> Why doesn't rsh/rlogin work when logged in as root? It works fine for 
> normal users, but not for root. I'm sure this is some sort of security
> measure, but is there some way around this? Without it it's pure hell
> to try and propagate a common file across a dozen machines.

Shouldn't be using for something like that rdist anyway?  Or, even
better, a replacement written by Andrew Tridgell of a Samba fame?
The name slipped my mind at the moment but you will find it on the
main www page for Samba.

  Michal

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: rsh/rlogin
       [not found] <199710311545.IAA10378@ellpspace.math.ualberta.ca>
@ 1997-10-31 16:26 ` Harald Koenig
  0 siblings, 0 replies; 6+ messages in thread
From: Harald Koenig @ 1997-10-31 16:26 UTC (permalink / raw)


On Oct 31, Michal Jaegermann wrote:

> Shouldn't be using for something like that rdist anyway?  Or, even
> better, a replacement written by Andrew Tridgell of a Samba fame?
> The name slipped my mind at the moment but you will find it on the
> main www page for Samba.

that's `rsync' (ftp://samba.anu.edu.au/pub/rsync) and IMHO highly recommended!

Harald

--
All SCSI disks will from now on                     ___       _____
be required to send an email notice                0--,|    /OOOOOOO\
24 hours prior to complete hardware failure!      <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
Harald Koenig,                                         \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik                              //  /     \\  \
koenig@tat.physik.uni-tuebingen.de                     ^^^^^       ^^^^^

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1997-10-31 16:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.A32.3.91.971031012531.32336A-100000@ssibm4.ssp.ameslab.gov>
1997-10-31  9:52 ` rsh/rlogin Harvey J. Stein
1997-10-31 14:26   ` rsh/rlogin Rob Zook
1997-10-31 15:45 ` rsh/rlogin Michal Jaegermann
     [not found] <199710311545.IAA10378@ellpspace.math.ualberta.ca>
1997-10-31 16:26 ` rsh/rlogin Harald Koenig
1997-10-31 15:42 rsh/rlogin Robert L. Millner
  -- strict thread matches above, loose matches on Subject: below --
1997-10-31  7:38 rsh/rlogin Stephen Tow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox