Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Oct 1997 01:37:10 +0100
From:      Palle Girgensohn <girgen@partitur.se>
To:        "Jonathan A. Zdziarski" <jonz@netrail.net>
Cc:        John Brown <jbrown@vafibre.com>, freebsd-isp@FreeBSD.ORG
Subject:   Re: rdist
Message-ID:  <3457D6B6.C45A6573@partitur.se>
References:  <Pine.BSF.3.95q.971029155219.26147A-100000@netrail.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello all,

Can it be the login.conf file introduced in 2.2.2 that is causing you
trouble? I can do a rsh/rlogin/ranything as root to our 2.1-release
machine, but not to any of our 2.2.2 stable machines. The
/etc/hosts.equiv has no effect for root logins (says the some man page;
sorry, can't remember which. Probably the sunos man page for
hosts.equiv), and ~root/.rhosts is the proper way. My guess is this only
works to a system that is pre-login.conf. I haven't had the time to
investigate this yet, but my guess is that the auth-root-defaults part
in the beginning must be altered in some way. Maybe someone can give me
a hint?

auth-root-defaults:\
        :auth-login=krb_skey_or_passwd,passwd,kerberos,skey:\
        :auth-rlogin=krb_or_skey,kerberos,skey:\
         ^^^^^^^^^^^ ?

Or maybe I just missed this: 
     For security reasons, a users .rhosts file will be ignored if it is
not a
     regular file, or if it is not owned by the user, or if it is
writable by
     anyone other than the user.

I'm not sure, and cannot test it now...


Jonathan A. Zdziarski wrote:


> 
> Don't think that's the problem but if you wanna change permissions do a
> chmod 4555 to the file.
> 
> -------------------------------------------------------------------------
> Jonathan A. Zdziarski                                NetRail Incorporated
> Systems Engineering Manager                   230 Peachtree St. Suite 500
> jonz@netrail.net                                        Atlanta, GA 30303
> http://www.netrail.net                                    (888) - NETRAIL
> -------------------------------------------------------------------------
> 
> On Wed, 29 Oct 1997, John Brown wrote:
> 
> :OK an Update.. I have setup rdist to go the other way and it works. (ie. I
> :can go from remote to local but still cannot go the other way) I continue to
> :get the permission denied on the other server.
> :
> :I have checked my hosts.equiv and .rhosts and both of these are correct or
> :at least the same (except different host names) on both servers.
> :
> :When I check the /usr/bin/rsh on the server that it is running successfully
> :on the permissions are r-sr-xr-x. On the server that I continue to get the
> :error on the permissions are r-xr-xr-x . Can this cause the problem? and if
> :so how do I correct/set the s permission flag? (Never had to do that before)
> :
> :Thanks
> :
> :>
> :>On Wed, 29 Oct 1997, John Brown wrote:
> :>
> :>:I have been trying for a couple of days to get rdist to work so that I can
> :>:send my passwd file from one server to another and am getting the error
> :>:"Permission Denied" before an attemp is even made to connect to the remote
> :>:system.
> :>:
> :>:I have looked through the archives and saw that many people have had the
> :>:same problem but did not see any resolutions.
> :>:
> :>:Can someone tell me what I am missing permissions on?
> :>:
> :>:I am attempting to run as root my FreeBSD Box is running 2.2-Release.
> :>:
> :>:The following is the actual command i/o
> :>:
> :>:# rdist -f distfile1
> :>:updating host ns.remoteserver.com
> :>:Permission denied.
> :>:
> :>:Thanks in advance for any assistance.
> :>:
> :>:John Brown
> :>:
> :>
> :>
> :



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3457D6B6.C45A6573>