<div dir="ltr">I modified the contents of argv for the entry relating to the passphrase, I printed it before the change and after the change and so I know I modified it. However, when I run 'ps aux | grep aed' I still see the original passphrase and not what I modified. Is there another step to refresh the process entry?? </div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Dec 7, 2013 at 10:14 AM, Jan Schaumann <span dir="ltr"><<a href="mailto:jschauma@stevens.edu" target="_blank">jschauma@stevens.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">Tejas Nadkarni <<a href="mailto:tnadkarn@stevens.edu">tnadkarn@stevens.edu</a>> wrote:<br>
> There's no man page for it and I can't get it to compile using it. I see<br>
> the other option is manipulating argv but I'm not clear what exactly that<br>
> means? Just need some guidance on that.<br>
<br>
</div></div>When you run a program<br>
<br>
./aed -e -s salt -p passphrase<br>
<br>
this entire line will be seen in the process table. That is<br>
undesirable, since anybody running ps(1) can now see your password. So<br>
you want to change the string that is entered into the process table<br>
from<br>
<br>
./aed -e -s salt -p passphrase<br>
<br>
to<br>
<br>
./aed -e -s salt -p **********<br>
<br>
So you would need to change the contents of the buffer pointed to by<br>
argv[5].<br>
<br>
-Jan<br>
_______________________________________________<br>
cs631apue mailing list<br>
<a href="mailto:cs631apue@lists.stevens.edu">cs631apue@lists.stevens.edu</a><br>
<a href="https://lists.stevens.edu/mailman/listinfo/cs631apue" target="_blank">https://lists.stevens.edu/mailman/listinfo/cs631apue</a><br>
</blockquote></div><br></div>