[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] How to redirect tty to /dev/null?
From: |
Stephane Chazelas |
Subject: |
Re: [Help-bash] How to redirect tty to /dev/null? |
Date: |
Tue, 3 Sep 2019 21:20:31 +0100 |
User-agent: |
NeoMutt/20171215 |
2019-09-03 13:56:15 -0400, Greg Wooledge:
> On Tue, Sep 03, 2019 at 06:48:59PM +0100, Stephane Chazelas wrote:
> > $ bsdtar --passphrase '' -xOf a.zip a
> > bsdtar: Empty passphrase is unacceptable
> >
> > (I'm surprise bsdtar doesn't support passing passphrase via the
> > environment either).
>
> Perhaps it's because BSD systems have the initial environment of every
> process visible in 'ps e' output.
[...]
But only for processes with the same uid like on Linux (though
Linux can be configured to restrict it further and also to make
it generally more difficult for processes to inspect the memory
contents of processes that are not their descendants).
--
Stephane