From owner-freebsd-questions Fri Jul 28 10:45:21 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ipass.one.net (news2.one.net [206.112.192.118]) by hub.freebsd.org (Postfix) with ESMTP id 9A0EC37B7E5 for ; Fri, 28 Jul 2000 10:45:17 -0700 (PDT) (envelope-from scarleton@miltonstreet.com) Received: from miltonstreet.com (ws11.syner.com [63.84.188.11] (may be forged)) by ipass.one.net (8.8.7/8.8.7) with ESMTP id NAA28202 for ; Fri, 28 Jul 2000 13:45:16 -0400 Message-ID: <3981C6B1.4DE2514F@miltonstreet.com> Date: Fri, 28 Jul 2000 13:45:21 -0400 From: Sam Carleton X-Mailer: Mozilla 4.73 [en] (Windows NT 5.0; I) X-Accept-Language: en MIME-Version: 1.0 To: FreeBSD Questions Subject: Re: Can't become root.. References: <001701bff8a3$2461f360$05172dc6@seanheber> <3981A13B.DBA487B2@miltonstreet.com> <102688603589.20000728171841@buz.ch> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Gabriel Ambuehl wrote: > Hello Sam, > > Friday, July 28, 2000, 5:05:31 PM, you wrote: > > By any chance do you have sshd running on the machine? You can ssh in as root. > > 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 and False... The example: I am using machine A and sshing into the FreeBSD machine. When I am logged into A as a normal user, and I try 'ssh -l root freebsd', I am not allowed in. BUT When I root on machine A, I am able to do a 'ssh freebsd' and get in as root. Granted, I am not using the default ssh, I compiled/installed it myself on the FreeBSD machine. -- Sam Carleton Please stop by http://www.maineville.net and help my local police force! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message