Re: Too much log for sudo.

2023-10-12 Thread Andy Smith
Hello, On Thu, Oct 12, 2023 at 10:15:26PM +, Andy Smith wrote: > On Thu, Oct 12, 2023 at 05:20:58PM +0200, Erwan David wrote: > > I see that in the logs the VALUE of the env variable is loggued. > > How to change this ? > > I don't think there is a way to stop that happening. If sudo will >

Re: Too much log for sudo.

2023-10-12 Thread Karl Vogel
On Thu, Oct 12, 2023 at 11:22:00AM -0400, Erwan David wrote: > I use a script to run borg backup. For it to be able to backup files that > only root may read, i use sudo --preserv-env=BORG_REPO,BORG_PASSPHRASE. > > However I see that in the logs the VALUE of the env variable is loggued. How > to

Re: Too much log for sudo.

2023-10-12 Thread Andy Smith
Hi, On Thu, Oct 12, 2023 at 05:20:58PM +0200, Erwan David wrote: > I use a script to run borg backup. For it to be able to backup files that > only root may read, i use sudo --preserv-env=BORG_REPO,BORG_PASSPHRASE. > > However I see that in the logs the VALUE of the env variable is loggued. How

Too much log for sudo.

2023-10-12 Thread Erwan David
I use a script to run borg backup. For it to be able to backup files that only root may read, i use sudo --preserv-env=BORG_REPO,BORG_PASSPHRASE. However I see that in the logs the VALUE of the env variable is loggued. How to change this ?