help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Encrypt .bash_history ?


From: Andreas Kusalananda Kähäri
Subject: Re: Encrypt .bash_history ?
Date: Fri, 31 Dec 2021 19:03:26 +0100

On Fri, Dec 31, 2021 at 05:34:59PM +0100, Frederic GRAVIER wrote:
> Hi everyone,
> 
> I have a little question.
> How do I protect my .bash_history from the view of the root user? Is
> there a functionality to encrypt on the fly (every .bash_history read
> write) with GnuPG?
> 
> thank you.
> 

Sorry for not being of much help, but...

If you're on a system where you don't trust the root user, then all bets
are off.  What's to say they are not logging your TTY directly?  Do you
even trust the bash executable on that system?

-- 
Andreas (Kusalananda) Kähäri
SciLifeLab, NBIS, ICM
Uppsala University, Sweden

.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]