From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075321606395.tru64-unix-managers.marc@archive.invalid> From: Andrew Gallatin Date: Mon, 03 Jul 1995 22:30:10 +0000 To: tru64-unix-managers Subject: SUMMARY(sort of): rcmd: socket: Permission denied error w/rsh, rlogin X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075321606395 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 for making me look closely at the ownership of the file. Thanks also to Kim Greer 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 # ##############################################################################