From owner-freebsd-questions Fri Jul 28 8:26: 4 2000 Delivered-To: freebsd-questions@freebsd.org Received: from diskfarm.firehouse.net (rdu25-12-043.nc.rr.com [24.25.12.43]) by hub.freebsd.org (Postfix) with ESMTP id 9A45337C24D for ; Fri, 28 Jul 2000 08:26:00 -0700 (PDT) (envelope-from abc@diskfarm.firehouse.net) Received: (from root@localhost) by diskfarm.firehouse.net (8.9.3/8.9.3) id LAA15496; Fri, 28 Jul 2000 11:30:04 GMT (envelope-from abc) Date: Fri, 28 Jul 2000 11:30:04 +0000 From: Alan Clegg To: Gabriel Ambuehl Cc: questions@freebsd.org Subject: Re: Can't become root.. Message-ID: <20000728113003.A14412@diskfarm.firehouse.net> References: <001701bff8a3$2461f360$05172dc6@seanheber> <3981A13B.DBA487B2@miltonstreet.com> <102688603589.20000728171841@buz.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <102688603589.20000728171841@buz.ch>; from gabriel_ambuehl@buz.ch on Fri, Jul 28, 2000 at 05:18:41PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Out of the ether, Gabriel Ambuehl spewed forth the following bitstream: > In standard configuration you can't login as root not even through > sshd. IIRC one would have to set the pty's as safe in order to allow > remote root logins... True, false. The true part is that by default you can't ssh in as root. The false part is about the ptys. What you need to do is edit the sshd_config file to allow root logins. Not that it is a good idea, but... [btw, editing one of the ptys to 'secure' would allow you to telnet in as root which is a *BAD* idea] AlanC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message