Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Question zsh
- X-seq: zsh-users 1897
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: Ono Soul <zombie@xxxxxxxxxxxxx>, zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: Question zsh
- Date: Thu, 29 Oct 1998 22:02:09 -0800
- In-reply-to: <Pine.LNX.3.96.981029214359.13328B-100000@xxxxxxxxxxxxx>
- References: <Pine.LNX.3.96.981029214359.13328B-100000@xxxxxxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author