From owner-freebsd-questions Thu Aug 28 07:19:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA29836 for questions-outgoing; Thu, 28 Aug 1997 07:19:49 -0700 (PDT) Received: from wired.ctech.ac.za (wired.ctech.ac.za [155.238.4.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA29829 for ; Thu, 28 Aug 1997 07:19:43 -0700 (PDT) Received: from wired.ctech.ac.za (localhost [127.0.0.1]) by wired.ctech.ac.za (8.8.5/8.8.5) with SMTP id QAA02665; Thu, 28 Aug 1997 16:19:45 +0200 (SAT) Message-ID: <34058901.446B9B3D@wired.ctech.ac.za> Date: Thu, 28 Aug 1997 16:19:45 +0200 From: Jacques Hugo X-Mailer: Mozilla 3.01Gold (X11; I; FreeBSD 2.2.1-RELEASE i386) MIME-Version: 1.0 To: Jay.Erickson@ibm.net CC: questions@FreeBSD.ORG Subject: Re: logout script References: <3405848D.1F38427C@ibm.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Jay Erickson wrote: > > Is there anyway to modify the exit/logout so it can run another command/script > before it accualy logs the user out. e.g clear the screen first In the $HOME of all the users, you can add .bash_logout (for bash) .logout (for csh) and put in whatever you want to in those files. -Jacques