From owner-freebsd-questions Fri Nov 2 0:51:20 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-31-203-60.mmcable.com [65.31.203.60]) by hub.freebsd.org (Postfix) with SMTP id 32E1A37B405 for ; Fri, 2 Nov 2001 00:51:18 -0800 (PST) Received: (qmail 48738 invoked by uid 100); 2 Nov 2001 08:51:17 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15330.24197.742512.117331@guru.mired.org> Date: Fri, 2 Nov 2001 02:51:17 -0600 To: "Anthony Atkielski" Cc: Subject: Re: Lockdown of FreeBSD machine directly on Net In-Reply-To: <00b501c1637b$1cd2f880$0a00000a@atkielski.com> References: <15330.23714.263323.466739@guru.mired.org> <00b501c1637b$1cd2f880$0a00000a@atkielski.com> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Anthony Atkielski types: > Mike writes: > > Everyone is going to tell you to kill telnetd > > - and they are probably right, as sshd lets > > you do all that. > Except that sshd isn't letting me log in as root. When I try that, it says: > "Sorry, you are not allowed to connect." But I changed the remotes to secure in > ttys, and I put the PermitRootLogin to "yes" in sshd_config. What else do I > have to do? SSH works for other accounts. If you haven't, you'll need to restart sshd. I can't tell you for sure, because I never allow root logins over the network, but require that people log in as themselves and the su to root. http://www.mired.org/home/mwm/ Q: How do you make the gods laugh? A: Tell them your plans. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message