Problem: popclient shows password when someone 'ps -elf'

Problem: popclient shows password when someone 'ps -elf'

Post by Enzo Marra » Wed, 01 May 1996 04:00:00



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

 
 
 

Problem: popclient shows password when someone 'ps -elf'

Post by jwri.. » Tue, 07 May 1996 04:00:00


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


 
 
 

1. Re. 'ps' problem after ELF upgrade

--
-----------------------------------------------------------------------------
Hans-Dieter Schenk            | German Aerospace Research Establishment (DLR)
                              | Institute for Flight Guidance

Phone 0531) 295-2533          | D-38108 Braunschweig, Germany

2. dosemu and Tango Schematic

3. 'ps' problems after ELF upgrade

4. Mail notification??

5. Detach Process to No Show on 'ps'

6. Can not rsh or telnet to Sparc 5/Solaris 2.4

7. problems with the 'w' command -- not showing 'what'\

8. Red Hat server questions

9. Executing 'ps- elf' and reading output?

10. Limiting 'w', 'top' and 'ps'

11. How to hide from 'who', 'finger', 'ps' commands?

12. Would someone give me a URL for 'sudo' and/or 'runas'?

13. KDE Failes to find '__ti6QFrame' in 'ld-elf.so.1' on FreeBSD