From owner-freebsd-chat Fri Jan 5 18:56:17 1996 Return-Path: owner-chat Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA19248 for chat-outgoing; Fri, 5 Jan 1996 18:56:17 -0800 (PST) Received: from bambi.pomona.edu (bambi.pomona.edu [134.173.64.3]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id SAA19237 for ; Fri, 5 Jan 1996 18:56:13 -0800 (PST) Received: from POMONA.EDU by POMONA.EDU (PMDF V5.0-4 #12356) id <01HZNTWGSQF48WX29B@POMONA.EDU> for chat@freebsd.org; Fri, 05 Jan 1996 18:56:10 -0800 (PST) Date: Fri, 05 Jan 1996 18:56:10 -0800 (PST) From: JOHN Subject: BASH shell script question.. To: chat@freebsd.org Message-id: <01HZNTWGSU6Q8WX29B@POMONA.EDU> X-VMS-To: IN%"chat@freebsd.org" MIME-version: 1.0 Content-type: TEXT/PLAIN; CHARSET=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-chat@freebsd.org Precedence: bulk If I want a command to exit a shell script, and then exit the login shell (logging out the user), how would I pass the command to the login shell? Or, even better, is it possible to make a shell script the login shell, so that once the script exits, the user is logged off? Thanks John