Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: Re: Re: Korn Shell Wrappers for Perl Module Functions?

by Anonymous Monk
on Jul 10, 2001 at 21:45 UTC ( #95378=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Korn Shell Wrappers for Perl Module Functions?
in thread Korn Shell Wrappers for Perl Module Functions?

If you are on a linux box, try 'ps e'! On other systems I don't know the parameter. Your other point would be deserved, if we wouldn't talk about ksh (or bash for that matter). Echo is an internal command and will not be shown as a separate process, but as fork of the ksh. No params to see here, please go away;-)
  • Comment on Re: Re: Re: Re: Korn Shell Wrappers for Perl Module Functions?

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Korn Shell Wrappers for Perl Module Functions?
by Malkavian (Friar) on Jul 10, 2001 at 22:01 UTC
    Yep, 'ps e' shows loads of parameters. All those in the shell .rc file, and sundry that are also put in at various stages by anything else the shell uses.
    Now, however, unless someone is willing to pull out all the set env variables by this method, and get the relevant spam, just to catch out this guy, then it's all but invisible.
    If it's a case of this is too visible for the poster, then, so be it, I just feel that it's 'within reasonable bounds' of not being visible to ps, and all the commonly used forms.

    Malk
      Security through obscurity is always fatal.
      A reply falls below the community's threshold of quality. You may see it by logging in.
Re: Re: Re: Re: Re: Korn Shell Wrappers for Perl Module Functions?
by Anonymous Monk on Jul 10, 2001 at 22:29 UTC
    'ps e' only shows the environment for your own processes, if someone untrustworthy is running ps with your uid you've got bigger problems than whether he can parse the output and find some variables in it.
      Absolutely.
      Time to put this thread to bed I think.. I misread your posting slightly about the ps showing through with the e arg to it.
      End of day here (UK) makes me a little less likely to read the fine print, so you have my apoligies for getting the wrong end of the stick about what you were trying to say.
      The point I had in my mind was that the echoing was invisible to anything I had, and I got the line about the env showing up in ps from that echo you wrote.
      From there on, I guess I fixed in a more narrow minded view on what you'd said.
      Apologies for that
      It looks like we were both trying to say the same thing, with me not being quite so clear about it. :)
      Hopefully I've not caused offense
      The point of view I have with ps e is also coloured by the fact that where I work, there are several user IDs that have generic access to a great many people (for legacy reasons that grew up with it being a volunteer effort for about 7 years before it went commercial), thus many people would be able to see.
      Next time, feel free to tell me to wake up or something.:)

      Cheers,

      Malk

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://95378]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2020-05-24 22:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (142 votes). Check out past polls.

    Notices?