From owner-freebsd-questions@FreeBSD.ORG Mon Mar 13 21:31:02 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 641E216A400 for ; Mon, 13 Mar 2006 21:31:02 +0000 (UTC) (envelope-from petermatulis@yahoo.ca) Received: from web60011.mail.yahoo.com (web60011.mail.yahoo.com [209.73.178.74]) by mx1.FreeBSD.org (Postfix) with SMTP id EDAAD43D49 for ; Mon, 13 Mar 2006 21:31:01 +0000 (GMT) (envelope-from petermatulis@yahoo.ca) Received: (qmail 92936 invoked by uid 60001); 13 Mar 2006 21:31:01 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=4JGJmXV6ybSIdkRS0t3yPK8iGr1y98PpFAXqNjmkQZEsrquD2FhGe+xljJpdqSI8aNxfk076BTFQ/p3A6w9xblEjjwoY4xr/UCDq02mT5Fn7WW13iZp8EcG9+CxUfOPb/vQgC0rU0WuZ1m2fsTIV5JxpkoleBJ8LKtGFcwNxwr4= ; Message-ID: <20060313213101.92934.qmail@web60011.mail.yahoo.com> Received: from [216.252.85.182] by web60011.mail.yahoo.com via HTTP; Mon, 13 Mar 2006 16:31:01 EST Date: Mon, 13 Mar 2006 16:31:01 -0500 (EST) From: Peter To: Huy Ton That In-Reply-To: <4415E1F8.2030904@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: questions@freebsd.org Subject: Re: SSHD Help? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Mar 2006 21:31:02 -0000 --- John Cruz wrote: > SSHD will not allow you to log in as root (for security reasons). > There may be a way to change it, but I don't reccomend it. This is done by editing /etc/ssh/sshd_config: PermitRootLogin yes Then restart the SSH daemon: kill -HUP > Configure a user account to be able to use the su command or install sudo, then log in > remotely as a user then su or sudo for administrative tasks. Allowing a regular user to "su" to root is done by making him a member of group "wheel". For sudo, the root user needs to configure /etc/sudoers with the 'visudo' command. You need to install the sudo package first. > Huy Ton That wrote: > > I am sure I am lacking the technical knowledge to get this running > but. I > > setup (more like started) the sshd daemon. Now I have this system > setup at > > home and am just using it for experimenting. When I try to SSH > into it, it > > queries me for my user name, in which case I am logging in as root. > I key > > in roots password (is this password the same as the main root > password?) and > > it returns permission denied, please try again. > > > > I'm guessing I am not asking the right questions but I was under > the > > assumption that the password would be the same as root or whatever > user I'm > > trying to login? Any tutorials? I'm going crazy :(. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com