tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY(sort of): rcmd: socket: Permission denied error w/rsh, rlogin
@ 1995-07-03 22:30 Andrew Gallatin
  0 siblings, 0 replies; only message in thread
From: Andrew Gallatin @ 1995-07-03 22:30 UTC (permalink / raw)
  To: tru64-unix-managers


Andrew Gallatin writes:
 > 
 > 
 > Anyway, rlogin and rsh (with no args) going out of the machine seems
 > to be broken.  rsh host gives the error: 'rcmd: socket: Permission
 > denied' for any user, even root.  rsh host command works fine for any
 > user.  Doesn't seem to matter what host (localhost, a host on our
 > local subnet, or a host in a different domain all fail the same way).


 > - times, sizes, access permissions, and checksums on /usr/ucb/rlogin & rsh
 >   are the same as those on a working host.

I should have added ownership to the above list.. After looking *very*
closely at ownership, it looks like /usr/bin/rlogin magically changed
owners from root to bin, and this is what caused the problem.
Chown'ing it to root fixes everything.

Thanks to John Kohl <jtk@atria.com> for making me look closely at the
ownership of the file.  Thanks also to Kim Greer
<klg@dec2.mc.duke.edu> for making some helpful suggestions.

I'm still wondering how the file could have changed owners. Is there
some strange quirk about AdvFS that the filesytem is silenty hosed in
strange & hard to find ways after an AdvFS related panic?

Maybe I should start running tripwire.. ;-)

Drew
##############################################################################
#		Andrew Gallatin, Computer Project Manager                    #
#	    Institute of Statistics and Decision Sciences		     #
#	  Box 90251, Duke University, Durham, NC 27708-0251		     #
##############################################################################

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-07-03 22:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-07-03 22:30 SUMMARY(sort of): rcmd: socket: Permission denied error w/rsh, rlogin Andrew Gallatin

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