You're problem is not new by any means. Tbis prblem has come up again and
again with many different programs which accept a username/pw on the
command line.
There is a program floating around called hideargs which will clear the
command line arguments form the ps output, but this is not a real fix for
the problem as the arguments are still seen before the hideargs program
does it's work.
You might want to try to take the input interactively if the program
allows
popclient <<EOF
-3 -u username - p password -f ./remotemail
EOF
But I have a sneaking suspicion this will not work in your case.
Sorry I couldn't help more.
-Joshua Wright
: hi there,
: I use the program 'popclient' to retrieve mail from a remote server
: with a command like this:
: poopclient -3 -u username - p password -f ./remotemail
: my_mail_server.xxx.xxx
: the problem is that I use this command also in some sripts to retrieve
: mail every x minutes, and if someone 'ps -elf' sees:
: 1 R enzo .... ...... poopclient -3 -u username - p
: password -f .
: How can avoid ps showing the password?
: Thanks
: Enzo Marraro