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_at_atria.com> for making me look closely at the
ownership of the file. Thanks also to Kim Greer
<klg_at_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 #
##############################################################################
Received on Tue Jul 04 1995 - 01:05:55 NZST