zsh-users
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@brasslantern.com>
To: Ono Soul <zombie@hare.utep.edu>, zsh-users@math.gatech.edu
Subject: Re: Question zsh
Date: Thu, 29 Oct 1998 22:02:09 -0800	[thread overview]
Message-ID: <981029220210.ZM29684@candle.brasslantern.com> (raw)
In-Reply-To: <Pine.LNX.3.96.981029214359.13328B-100000@hare.utep.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


  reply	other threads:[~1998-10-30  6:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-30  4:52 Ono Soul
1998-10-30  6:02 ` Bart Schaefer [this message]
1998-10-30  8:52 jr
1998-10-30 15:46 Jason Price
1998-10-30 21:20 ` TGAPE!

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=981029220210.ZM29684@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zombie@hare.utep.edu \
    --cc=zsh-users@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).