From owner-freebsd-questions@FreeBSD.ORG Sat Feb 5 11:53:45 2005 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 BB33A16A4CE for ; Sat, 5 Feb 2005 11:53:45 +0000 (GMT) Received: from smtp11.wanadoo.fr (smtp11.wanadoo.fr [193.252.22.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72D4E43D4C for ; Sat, 5 Feb 2005 11:53:45 +0000 (GMT) (envelope-from atkielski.anthony@wanadoo.fr) Received: from me-wanadoo.net (unknown [127.0.0.1]) by mwinf1109.wanadoo.fr (SMTP Server) with ESMTP id 4E5D91C000A2 for ; Sat, 5 Feb 2005 12:53:44 +0100 (CET) Received: from pix.atkielski.com (ASt-Lambert-111-2-1-3.w81-50.abo.wanadoo.fr [81.50.80.3]) by mwinf1109.wanadoo.fr (SMTP Server) with ESMTP id 328EC1C00098 for ; Sat, 5 Feb 2005 12:53:44 +0100 (CET) X-ME-UUID: 20050205115344207.328EC1C00098@mwinf1109.wanadoo.fr Date: Sat, 5 Feb 2005 12:53:43 +0100 From: Anthony Atkielski X-Priority: 3 (Normal) Message-ID: <51563600.20050205125343@wanadoo.fr> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Running top without a shell -- more questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Feb 2005 11:53:45 -0000 I've set up a user account that has top for its shell (instead of one of the standard shells). As expected, when I log into this account, I immediately find myself in top, and if I stop top, I'm instantly logged out. That's what I want. I use it to have a continuously running console status display without the need to be actually logged in to a (potentially dangerous) shell. However, I note that there is a login process under root that just sits there, and top runs as a child of that under my chosen user name. Is there a way to get top to run by itself, like csh or some other shell, with the login process out of the system? What causes login to go away in the normal case, when the shell is actually a shell program? Isn't the user fully logged in by the time control passes to top? -- Anthony