Prev: Puppy Linux 4.3.1
Next: Who knows routers?
From: Lew Pitcher on 18 Nov 2009 09:16 On November 17, 2009 21:26, in alt.os.linux, Jim Diamond (Jim.Diamond(a)nospam.AcadiaU.ca) wrote: > On 2009-11-17 at 21:03 AST, Lew Pitcher <lpitcher(a)teksavvy.com> wrote: >> On November 17, 2009 20:01, in alt.os.linux, ela (ela(a)yantai.org) wrote: >> >>> every users can top and therefore know each other running what jobs with >>> exact parameters and outputs. >> >> Yes? So? >> >>> How to hide one's command from top? >> >> In short, you can't >> >> If you have secret information, you /cannot/ put it into a commandline >> and expect it to remain secret. Sorry. > >> If you want it to remain secret, pass it through an environment variable, > As it turns out, that isn't true. > > Try the ironically-named option 'ewwwww' to ps: > > ps ewwwww > > Lo and behold, the environment of the command. Darn! and another of my attempts at security bites the dust. I learn something new every day. Now that I know that some of my scripts are exposed, I'll have to check out alternatives. Thanks for the heads-up. :-) -- Lew Pitcher Master Codewright & JOAT-in-training | Registered Linux User #112576 Me: http://pitcher.digitalfreehold.ca/ | Just Linux: http://justlinux.ca/ ---------- Slackware - Because I know what I'm doing. ------ |