Date: Tue, 20 Feb 2001 11:26:55 -0800 From: Kris Kennaway <kris@obsecurity.org> To: Fernando Schapachnik <fschapachnik@vianetworks.com.ar> Cc: security@FreeBSD.ORG Subject: Re: Inconsistent behavior on openssh Message-ID: <20010220112654.A35156@mollari.cthul.hu> In-Reply-To: <200102201215.JAA39014@ns1.via-net-works.net.ar>; from fpscha@ns1.via-net-works.net.ar on Tue, Feb 20, 2001 at 09:15:59AM -0300 References: <20010219153542.A54742@mollari.cthul.hu> <200102201215.JAA39014@ns1.via-net-works.net.ar>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Tue, Feb 20, 2001 at 09:15:59AM -0300, Fernando Schapachnik wrote:
> En un mensaje anterior, Kris Kennaway escribió:
> > > Simply install your ~/.ssh/identity.pub in your remote account's
> > > ~/.ssh/authorized_keys file. That's why I use. I've never in my
> > > life used .rhosts or .shosts with ssh.
> >
> > Or if you really want to use RhostsRSAAuthentication, rebuild sshd
> > with ENABLE_SUID_SSH=true in /etc/make.conf
>
> I don't think it will sufice:
>
> ssh.c:
> /* Disable rhosts authentication if not running as root. */
> if (original_effective_uid != 0 ||!options.use_privileged_port) {
> options.rhosts_authentication = 0;
> options.rhosts_rsa_authentication = 0;
>
>
> It's not #ifdef'd.
Erm - if it's setuid root (controlled by the makefile when it's
installed), the original_effective_uid == 0.
Kris
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (FreeBSD)
Comment: For info see http://www.gnupg.org
iD8DBQE6ksT+Wry0BWjoQKURAnL/AJwJFlOkOQHLeNBSHcUIIC0Dsw1lOQCfWOe9
hW8ANsa+DvXEt3Y/emjeIrE=
=TtS/
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010220112654.A35156>
