[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hide command line arguments
From: |
Martin Bernreuther |
Subject: |
Hide command line arguments |
Date: |
Sun, 2 Mar 2008 00:56:44 +0100 |
User-agent: |
KMail/1.9.9 |
Hello,
on a common Linux system, everyone can use e.g.
ps and will see running processes of all users including
the command line arguments. I'd like to hide the
command line arguments e.g. for the cp command,
which sometimes uses quite a long time to copy large files,
to keep the path and file names secret.
Writing a small C program, it's quite easy to
overwrite all chars of the argv[] strings with 0
after the commandline options are being processed.
Is there a possibility to activate such a feature
in e.g. cp? (like cp --hideargs ...)
Thanks,
Martin
--
_________________________________________
Martin Bernreuther address@hidden
- Hide command line arguments,
Martin Bernreuther <=