From: | Tycho Fruru <tycho(at)fruru(dot)com> |
---|---|
To: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
Cc: | Vivek Khera <khera(at)kcilink(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Help automate pg_dump |
Date: | 2002-06-19 11:04:59 |
Message-ID: | 1024484701.3368.19.camel@kungfoo.conostix.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Wed, 2002-06-19 at 12:42, Martijn van Oosterhout wrote:
> On Wed, Jun 19, 2002 at 12:32:29PM +0200, Tycho Fruru wrote:
> > Try " ps exwww " and see the environment variables of all processes
>
> Hmm, on linux this only shows the environment for your own processes. Does
> this work differently on other systems?
>
> $ cat /proc/1/environ
> cat: /proc/1/environ: Permission denied
>
> and if you're root, who cares?
I tried this a long time ago (perhaps too long ago :-) with success.
(checking different versions)
It does the right thing (limit access) at least since 2.2.0
Looking at the source I think that in the 1.2 series it was still a
problem (ie. you could see other user's environments)
I'm growing old too fast.
T.
--
Tycho Fruru tycho(at)fruru(dot)com
"Prediction is extremely difficult. Especially about the future."
- Niels Bohr
From | Date | Subject | |
---|---|---|---|
Next Message | Roderick A. Anderson | 2002-06-19 12:04:46 | Pg 7.2B5 -> 7.2.1 |
Previous Message | Joseph Maxwell | 2002-06-19 10:51:46 | Re: initdb dies during IpcSemaphoreCreate under BSD jail |