From owner-freebsd-questions@FreeBSD.ORG Tue Jun 10 06:51:12 2003 Return-Path: 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 D48D737B401 for ; Tue, 10 Jun 2003 06:51:12 -0700 (PDT) Received: from regina.plastikos.com (216-107-106-250.wan.networktel.net [216.107.106.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4662E43FD7 for ; Tue, 10 Jun 2003 06:51:12 -0700 (PDT) (envelope-from fullermd@over-yonder.net) Received: from mortis.over-yonder.net (adsl-156-171-156.jan.bellsouth.net [66.156.171.156]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by regina.plastikos.com (Postfix) with ESMTP id A583C6EEB9; Tue, 10 Jun 2003 09:51:11 -0400 (EDT) Received: by mortis.over-yonder.net (Postfix, from userid 100) id 29BDA20F21; Tue, 10 Jun 2003 08:51:10 -0500 (CDT) Date: Tue, 10 Jun 2003 08:51:09 -0500 From: "Matthew D. Fuller" To: Xpression Message-ID: <20030610135109.GQ28798@over-yonder.net> References: <002e01c32f54$68a09aa0$0501a8c0@bloodlust> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002e01c32f54$68a09aa0$0501a8c0@bloodlust> User-Agent: Mutt/1.4.1i-fullermd.1 X-Editor: vi X-OS: FreeBSD cc: FreeBSD-questions Subject: Re: tty's root restriction access... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2003 13:51:13 -0000 On Tue, Jun 10, 2003 at 09:29:10AM -0400 I heard the voice of Xpression, and lo! it spake thus: > Hi list, I wonder if I can restrict several users to access the > system by some ttys, for example: root only can take access to the > server/system by the first terminal...thanks See /etc/ttys (ttys(5)), in particular the "secure" flag. That's more for local terminals For remote access, see /etc/login.access (login.access(5)). -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ "The only reason I'm burning my candle at both ends, is because I haven't figured out how to light the middle yet"