Apr 21, '03 09:20:00AM • Contributed by: God of Muffins
USER COMMAND root login -pf ryang ryang -tcsh (tcsh) ryang ftp ftp://user:pass@127.0.0.1 root login -pf ryang ryang -tcsh (tcsh) root ps -wao user commandAs you can see, it returns information about an FTP connection, including the username and password I used with it.
[robg adds: I believe ps needs to run as root to find information on all processes. I think what this hint really reveals is that you shouldn't use the command line to input your username and password to the ftp program! Instead, create a file called .netrc in your home directory, and store your machine names, user names, and passwords there instead (make sure the file isn't readable by others by typing chmod go-r .netrc). Read more about .netrc files in the man ftp pages.]
