From owner-freebsd-questions Fri Nov 15 4:55:13 2002 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 470A537B401 for ; Fri, 15 Nov 2002 04:55:12 -0800 (PST) Received: from mail1.uits.uconn.edu (mail1.uits.uconn.edu [137.99.25.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7627D43E88 for ; Fri, 15 Nov 2002 04:55:06 -0800 (PST) (envelope-from matt@forsetti.com) Received: from [137.99.80.149] (d80h149.public.uconn.edu [137.99.80.149]) by mail1.uits.uconn.edu (8.11.6/8.11.6) with ESMTP id gAFCqkG05669; Fri, 15 Nov 2002 07:52:47 -0500 Subject: Re: disabling root logins From: Matt Smith To: Ian Barnes Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: References: Content-Type: text/plain Organization: Message-Id: <1037364761.97314.4.camel@d80h149.public.uconn.edu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 15 Nov 2002 07:52:41 -0500 Content-Transfer-Encoding: 7bit X-MailScanner: Found to be clean X-MailScanner-SpamCheck: not spam, SpamAssassin (score=-0.9, required 6, IN_REP_TO, QUOTED_EMAIL_TEXT, REFERENCES, SIGNATURE_SHORT_DENSE, SPAM_PHRASE_03_05, TO_BE_REMOVED_REPLY) 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 For console: edit /etc/ttys change secure to insecure for each tty that you wish to keep root out of. On Fri, 2002-11-15 at 01:54, Ian Barnes wrote: > Hi, > > I would like to disable root logins, both at console and through ssh ... > > where should I start ? > > thanks for the help > > Ian > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Matt Smith To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message