Date: Tue, 6 Nov 2001 10:23:26 +0000 (GMT) From: rik@rikrose.net To: "Alexander S. Volchenkov" <volax@uh.ru> Cc: Peter Pentchev <roam@ringlet.net>, freebsd-security@FreeBSD.ORG Subject: Re: Chrooted SSH2 problem Message-ID: <Pine.LNX.4.21.0111061020280.657-100000@pkl.net> In-Reply-To: <200111060717.fA67HZu81881@ns.uh.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 6 Nov 2001, Alexander S. Volchenkov wrote: > The output of sshd2 -d1: > sshd2[1296]: /etc/spwd.db: No such file or directory > Connection to gate closed. I've not been wathing the whole conversation, but that error I've left above (and consequently the other errors too) look to me like you've chrooted the sshd, rather than letting it chroot a certain group of users. sshd must run as root, in order to switch to the required users, and therefore has the permissions to chroot when required, so if you just leae it with its default setup, and add those 2 lines to the config file that were specified above, then everything ought to be fine. Good luck -- PGP Key: D2729A3F - Keyserver: wwwkeys.uk.pgp.net - rich at rdrose dot org Key fingerprint = 5EB1 4C63 9FAD D87B 854C 3DED 1408 ED77 D272 9A3F Public key also encoded with outguess on http://rikrose.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0111061020280.657-100000>