From owner-freebsd-stable Tue May 28 13:39:53 2002 Delivered-To: freebsd-stable@freebsd.org Received: from pt-quorum.com (pt-quorum.com [209.10.167.210]) by hub.freebsd.org (Postfix) with ESMTP id 222B837B42F for ; Tue, 28 May 2002 13:39:28 -0700 (PDT) Received: from gw.tex.bogus (195-23-212-64.nr.ip.pt [195.23.212.64]) by pt-quorum.com (Postfix) with ESMTP id 23027EC41; Tue, 28 May 2002 21:34:24 +0100 (WEST) Received: by gw.tex.bogus (Postfix, from userid 1001) id 09D93491; Tue, 28 May 2002 21:37:29 +0100 (WEST) Date: Tue, 28 May 2002 21:37:29 +0100 From: Nuno Teixeira To: Daniel Geske Cc: freebsd-stable@FreeBSD.ORG Subject: Re: ssh root login Message-ID: <20020528203728.GC421@gw.tex.bogus> References: <5.1.0.14.0.20020528214252.00a1dd10@pop.gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.1.0.14.0.20020528214252.00a1dd10@pop.gmx.net> User-Agent: Mutt/1.3.99i X-Operating-System: FreeBSD 4.6-RC Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, May 28, 2002 at 09:46:41PM +0200, Daniel Geske wrote: > Hi all, > > I have a FreeBSD 4.5 Rel. machine up running fine. Now, on the console I > can log in fine. Log ins via ssh only work for users other than root. How > can I log in as root using ssh? > I checked "hosts.allow" and it didn't look like there's any place to set > such thing in "sshd_config" > > I am looking forward to hearing a solution. > Thanks, > > Daniel > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message I, You can use option `PermitRootLogin yes' in your sshd_config but it may have some impact in machine security. You can login as a normal user and then "su -" or, better, "sudo ". Bye, Nuno Teixeira -- /* PGP fingerprint: C6D1 06ED EB54 A99C 6B14 6732 0A5D 810D 727D F6C6 */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message