From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1960 invoked from network); 30 Oct 1998 06:07:13 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 30 Oct 1998 06:07:13 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id AAA02740; Fri, 30 Oct 1998 00:58:49 -0500 (EST) Resent-Date: Fri, 30 Oct 1998 00:58:43 -0500 (EST) From: "Bart Schaefer" Message-Id: <981029220210.ZM29684@candle.brasslantern.com> Date: Thu, 29 Oct 1998 22:02:09 -0800 In-Reply-To: Comments: In reply to Ono Soul "Question zsh" (Oct 29, 9:52pm) References: X-Mailer: Z-Mail (4.0b.820 20aug96) To: Ono Soul , zsh-users@math.gatech.edu Subject: Re: Question zsh MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: <"PXKMI3.0.Ag.IMLEs"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1897 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On Oct 29, 9:52pm, Ono Soul wrote: } Subject: Question zsh } } I wonder if there is posible to save the .zsh_history in their } directories /home/user1/.zsh_history but with no privileges from user1 to } modify it or deleted. } What I'm trying to do is to have a .zsh_history in users } directories that can save all the history of every single user in the } /home I'm not sure what this means. Do you mean you want all users to share the SAME history file in /home/user1/, so they can all see what each of the others did during previous login sessions? Or do you mean you want each user to have his own file, but to keep all those history files in /home/user1/? Or do you mean you want each user to have a file in his own home directory, but you want to copy the contents of everybody's history files into one big file in /home/user1/? Why would you want to do any of those things? I can think of some things you might do in /etc/zlogout, but none of them feel very safe to me, and in any case you can't prevent a user from doing "kill -9 $$" to blow his shell away without giving it a chance to write anything anywhere. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com