I've added

export HISTFILE=/local/home/root/.ash_history

to the top of the /root/.profile file. /local is my small SSD, because I
like to keep the history, but not in the configdb. You can, of course, also
redirect it to something like /tmp.


On Sat, Apr 2, 2016 at 1:42 PM, Erich Titl <erich.t...@think.ch> wrote:

> Hi Sven
>
> Am 02.04.2016 um 00:16 schrieb Sven Kirmess:
> > That annoys me to. :-)
> >
> > The root package includes the whole content of the /root directory to the
> > configdb.lrp file.
> >
> > # more /var/lib/lrpkg/root.local
> > root
> > var/lib/random-seed
> >
> >
> > Would probably make sense to redirect this file to /tmp or somewhere else
> > where it isn't included in the configdb file.
>
> You may want to overwrite /var/lib/lrpkg/root.local with
>
> root/.ssh
> root/.gnupg
> root/.profile
> var/lib/lrpkg/root.local
> var/lib/random.seed
>
> Then the .ash_history garbage would be dropped _I believe_
>
> cheers
>
> ET
>
>
>
>
> ------------------------------------------------------------------------------
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
>
> _______________________________________________
> leaf-devel mailing list
> leaf-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/leaf-devel
>
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to