Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Aug 1997 16:19:45 +0200
From:      Jacques Hugo <jacques@wired.ctech.ac.za>
To:        Jay.Erickson@ibm.net
Cc:        questions@FreeBSD.ORG
Subject:   Re: logout script
Message-ID:  <34058901.446B9B3D@wired.ctech.ac.za>
References:  <3405848D.1F38427C@ibm.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34058901.446B9B3D>