From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20744 invoked from network); 26 Dec 2000 23:33:58 -0000 Received: from sunsite.dk (HELO sunsite.auc.dk) (130.225.51.30) by ns1.primenet.com.au with SMTP; 26 Dec 2000 23:33:58 -0000 Received: (qmail 18271 invoked by alias); 26 Dec 2000 23:33:39 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13313 Received: (qmail 18264 invoked from network); 26 Dec 2000 23:33:37 -0000 Date: Tue, 26 Dec 2000 18:36:13 -0500 (EST) From: Vlad To: zsh-workers@sunsite.auc.dk Subject: HOW do i.. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII ..do the following: 1. i want root to be the owner of users's history file. 2. everytime the user exits the system, i want his history file to be mailed to whatever e-mail address specified. how do i execute a command upon exiting? i always use TRAPEXIT, however, i can't make zsh to read/write with root permissions. thanks for your help!