I want to send password to rdesktop so that it doesn't show up in ps. Is there any safe alternative for passing with command-line parameter? I even can develop an application for this if it helps. Any idea will be appreciated.
Thanks
I want to send password to rdesktop so that it doesn't show up in ps. Is there any safe alternative for passing with command-line parameter? I even can develop an application for this if it helps. Any idea will be appreciated.
Thanks
You can create a text file (named
secretfile
here) which contains your password. Then, you can connect using the following command:This way the password will not show up in output of
ps
. Don't forget to change file permission to prevent other users from reading it!