From owner-freebsd-questions@FreeBSD.ORG Tue May 29 14:45:38 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C9DF216A46B for ; Tue, 29 May 2007 14:45:38 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 92D5513C458 for ; Tue, 29 May 2007 14:45:38 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l4TEfLEt028944; Tue, 29 May 2007 10:41:21 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l4TEfKsI028943; Tue, 29 May 2007 10:41:20 -0400 (EDT) (envelope-from jerrymc) Date: Tue, 29 May 2007 10:41:20 -0400 From: Jerry McAllister To: DSA - JCR Message-ID: <20070529144120.GB28880@gizmo.acns.msu.edu> References: <11066.217.114.136.135.1180427946.squirrel@llca513-a.servidoresdns.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <11066.217.114.136.135.1180427946.squirrel@llca513-a.servidoresdns.net> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: connecting user root with ssh 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: Tue, 29 May 2007 14:45:38 -0000 On Tue, May 29, 2007 at 08:39:06AM -0000, DSA - JCR wrote: > Hi all > > I was trying to connect to my FreeBSD 6.2 box with SSH with PUTTY by > several days with the user "root" and nothing happens, only a denied > password from FBSD, and a timeout close connection. > > But, a flash came to my mind ;D and then I tried to connect by a different > user and... "voila", ssh connections came alive !!.. > > My question is: if root user is locked to connect by ssh (I think it maybe > logic, but..) That is the default and best practice. > If it is so, how can I make an user that has same priviliges as root (I > beg your pardon for this newbie question...) I think that wheel group is > ok but what more?.. If you include your id in the wheel group (add it to the wheel line in the /etc/group file), then you can log in with that id. Once you have logged in, then you can 'su' to root if you know the root password. > The think is that I need to connect to my FBSD box from outside the office > in a secure manner and control it,... well, surely you know this ;D Yes, use ssh to first get logged in. Then use su to go to root. It is more secure that way. Alternatively, you can use sudo to create a set of things you can do from your non-root account without logging in as root. That is probably even safer. sudo is in ports. ////jerry > > > Thanks in advance > > "The more I learn FreeBSD, the more I love it" > > Juan Coruņa > Desarrollo de Software Atlantico > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >