Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* RSH to ALPHA using root login
@ 1995-06-15  4:00 Donald Gray
  1995-06-16  4:00 ` Stephen Carrier
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Donald Gray @ 1995-06-15  4:00 UTC (permalink / raw)


I'am tring to use RSH from a HP to an ALPHA. I have set up hosts.equiv
and .rhosts. Root logins are enabled from anywhere. but I still get
a permission denied error. It works fine from ALPHA to HP and I can
login to the ALPHA usind root. However rlogin is requiring a password.
Any help would be greatly appricated.
						Thanks,
						D-Man



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

* Re: RSH to ALPHA using root login
  1995-06-15  4:00 RSH to ALPHA using root login Donald Gray
@ 1995-06-16  4:00 ` Stephen Carrier
  1995-06-16  4:00 ` Dave Parker
  1995-06-19  4:00 ` Paul Gosse
  2 siblings, 0 replies; 4+ messages in thread
From: Stephen Carrier @ 1995-06-16  4:00 UTC (permalink / raw)


Donald Gray (donald44@delphi.com) wrote:
: I'am tring to use RSH from a HP to an ALPHA. I have set up hosts.equiv
: and .rhosts. Root logins are enabled from anywhere. but I still get
: a permission denied error. It works fine from ALPHA to HP and I can
: login to the ALPHA usind root. However rlogin is requiring a password.
: Any help would be greatly appricated.
: 						Thanks,
: 						D-Man

Is .rhosts readable (or writable!?) by anyone except root?  Many 
consider such .rhosts files a bad idea, you probably realize.


Stephen Paul Carrier	carrier@ced.berkeley.edu
UNIX Specialist		(510)643-7861

Department of Environmental Science, Policy & Management
University of California at Berkeley



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

* Re: RSH to ALPHA using root login
  1995-06-15  4:00 RSH to ALPHA using root login Donald Gray
  1995-06-16  4:00 ` Stephen Carrier
@ 1995-06-16  4:00 ` Dave Parker
  1995-06-19  4:00 ` Paul Gosse
  2 siblings, 0 replies; 4+ messages in thread
From: Dave Parker @ 1995-06-16  4:00 UTC (permalink / raw)


In article <Rg3d+8F.donald44@delphi.com>, Donald Gray <donald44@delphi.com> writes:
|>
|>I'am tring to use RSH from a HP to an ALPHA. I have set up hosts.equiv
|>and .rhosts. Root logins are enabled from anywhere. but I still get
|>a permission denied error. It works fine from ALPHA to HP and I can
|>login to the ALPHA usind root. However rlogin is requiring a password.
|>Any help would be greatly appricated.
|>						Thanks,
|>						D-Man
|>


According to the rsh man page, when using the root ID for rsh, the hosts.equiv
file does not come into play.  Instead, you need to have an appropriate /.rhosts
file.

So there is likely something wrong with you /.rhosts file.

1) If you are superuser when you run rsh, an entry in /.rhosts with just your
hostname will work.

2) If you aren't superuser when you run rsh, an entry in /.rhosts with your
hostname and username will work.

3) If #1 or #2 aren't the problem, then it is very likely that the problem is
due to /.rhosts not being owned by root and/or not having a mode of 600.

Dave




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

* Re: RSH to ALPHA using root login
  1995-06-15  4:00 RSH to ALPHA using root login Donald Gray
  1995-06-16  4:00 ` Stephen Carrier
  1995-06-16  4:00 ` Dave Parker
@ 1995-06-19  4:00 ` Paul Gosse
  2 siblings, 0 replies; 4+ messages in thread
From: Paul Gosse @ 1995-06-19  4:00 UTC (permalink / raw)


Donald Gray <donald44@delphi.com> writes:

>I'am tring to use RSH from a HP to an ALPHA. I have set up hosts.equiv
>and .rhosts. Root logins are enabled from anywhere. but I still get
>a permission denied error. It works fine from ALPHA to HP and I can
>login to the ALPHA usind root. However rlogin is requiring a password.
>Any help would be greatly appricated.

OSF1 ships with only /dev/console, local:0, :0 in the /etc/securettys
file.  You would have to add "ptys" to /etc/securettys as well as a
/.rhosts or a hosts.equiv entry to allow a remote root shell.

#  /etc/securettys
# 
#  Note: Each entry in this file represents a device (secure device) 
#  from which root login is permitted.  For, pseudo ttys (ptys) a 
#  single keyword entry "ptys" means all ptys are to be treated as being
#  secure.  Note that the entry is "ptys" and not prefixed by /dev
#  as is customary for the other physical devices.  The absence of
#  this key word implies that root login will not be permitted from 
#  all ptys.  X displays are indicated with the display name.



Paul
--
Paul Gosse   <paulg@morgan.ucs.mun.ca>   http://www.ucs.mun.ca/~paulg
Systems Programmer, Computing and Communications
Memorial University of Newfoundland
       [<->]  26 52 43 21 8B C1 62 DF  45 EE 76 5D 97 44 CA 87  [<->]
"No matter where you go... there you are."
		- Buckaroo Banzai



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

end of thread, other threads:[~1995-06-19  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-06-15  4:00 RSH to ALPHA using root login Donald Gray
1995-06-16  4:00 ` Stephen Carrier
1995-06-16  4:00 ` Dave Parker
1995-06-19  4:00 ` Paul Gosse

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