From owner-freebsd-stable Tue May 28 12:52:10 2002 Delivered-To: freebsd-stable@freebsd.org Received: from snafu.adept.org (snafu.adept.org [63.201.63.44]) by hub.freebsd.org (Postfix) with ESMTP id 4152537B409 for ; Tue, 28 May 2002 12:52:03 -0700 (PDT) Received: by snafu.adept.org (Postfix, from userid 1000) id 6FE959EE33; Tue, 28 May 2002 12:51:58 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by snafu.adept.org (Postfix) with ESMTP id 67E1E9B001; Tue, 28 May 2002 12:51:58 -0700 (PDT) Date: Tue, 28 May 2002 12:51:58 -0700 (PDT) From: Mike Hoskins To: Daniel Geske Cc: Subject: Re: ssh root login In-Reply-To: <5.1.0.14.0.20020528214252.00a1dd10@pop.gmx.net> Message-ID: <20020528124937.O26970-100000@snafu.adept.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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, 28 May 2002, Daniel Geske wrote: > 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" Why not login and su for more accountability? If you really want root to login over the network, change your sshd_config: mike@mojo{mike}$ grep Root /etc/ssh/sshd_config PermitRootLogin no Change 'no' to 'yes' and HUP sshd if needed. Later, -Mike -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." --Benjamin Franklin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message