Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Is there a way with IPC::Run to hide command options from process table?

by BrowserUk (Pope)
on Jul 23, 2013 at 13:36 UTC ( #1045864=note: print w/ replies, xml ) Need Help??


in reply to Is there a way with IPC::Run to hide command options from process table?

I'd love to see your legitimisation for this.

  1. If this is to run on a system you 'own'; why would you need to hide this from yourself.
  2. And if you don't 'own' the system; what right or reason do you have to hide this from the owner.

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.


Comment on Re: Is there a way with IPC::Run to hide command options from process table?
Re^2: Is there a way with IPC::Run to hide command options from process table?
by DeadPoet (Scribe) on Jul 23, 2013 at 13:51 UTC

    Browser, I always love and respect your comments, as well as the guidance that you provide. However, there are cases where data need not be displayed in the process table. Let us take a simple usermod example to illustrate the point. Would one really want to display in the process table?

    Linux: /usr/sbin/usermod -p <value> account HP-UX: /usr/sam/lbin/usermod.sam -p <value> account

    The point is that there are cases where one is just better off not displaying every command argument in the process table regardless of device ownership.

      IIRC, you are still able to get that information by inspecting the information associated with the process table entry. This will only give a false sense of security.

      That being said, it is sometimes helpful to set what shows in the process table (with default ps options) to something that actually means something to the viewer, such as what Sendmail does (sendmail: accepting connections on port....)

      --MidLifeXis

      Hm. You mean that information is visible to other users? Sounds like a security flaw in *nix.


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.

        There is no argument there! UNIX has numerous "features" what are less than optimal. Being the glutton for punishment that I am, I still love UNIX. So to your point, yes the information is visible and that is not always a good thing.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2014-04-20 03:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls