From owner-freebsd-questions@FreeBSD.ORG Wed Apr 18 21:48:37 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0C951106566C for ; Wed, 18 Apr 2012 21:48:36 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 5F5D98FC19 for ; Wed, 18 Apr 2012 21:48:36 +0000 (UTC) Received: from r56.edvax.de (port-92-195-124-250.dynamic.qsc.de [92.195.124.250]) by mx01.qsc.de (Postfix) with ESMTP id 19FBB3CF02; Wed, 18 Apr 2012 23:48:27 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q3ILmR6v002754; Wed, 18 Apr 2012 23:48:27 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 18 Apr 2012 23:48:27 +0200 From: Polytropon To: tak.official@gmail.com Message-Id: <20120418234827.7ff67cb2.freebsd@edvax.de> In-Reply-To: References: <20120407100947.cd05d526.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: define a default username for logging in X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2012 21:48:37 -0000 On Wed, 18 Apr 2012 10:56:58 +0430, takCoder wrote: > Hi again, > > Really Thank You for your tricky advice.. it was a Nice one(and seems to be > "the Only one"!).. :) It's not trivial to strip down a multi-user system to a limited single-user preconfiguration. :-) > the suggested way seems to work, but i've got a problem: > how can i apply these settings on pts devices?! i mean, how can i disable > login on pts devices to continue the rest? do you have any idea?? I didn't find any information in "man pts" (yes, it DOES exist!), and the terminal entries mentioned in /etc/ttys are not of pts type, there are only tty[pqrs] and tty[PQRS], no pts. Another thing to mention is that terminals launched in X will work using the pts infrastructures. Limiting their use could affect those. > i tried the same format in /etc/ttys, but it didn't work.. > i could not find any tips via googling as well.. so.. :) I assume that this file is not intended to control the pseudo terminals used in SSH / telnet connections. > you know, it's not that important to be able to use all 999 enabled pts > devices on my server! i can abound them if there is a file such as > /etc/ttys for per pty device configurations.. I've not found a file that does this. Maybe this has more to do with network configuration (access rights, availability of connections) than terminals per se... > looking forward to receive your ideas. Sadly I can't provide more information, as your intention is _very_ strange (in terms of what's widely established today in SU and MU settings). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...