<HTML><FONT FACE=arial,helvetica><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2">Good point. I guess that surfaces my assumptions about where it would be used =).<BR>
In any case, I think the problem with open process is that it has been broken for some time on OS X. If that's fixed, then it's definitely the way to go.<BR>
<BR>
You could also write the password to a file and then pipe that to the sudo command- that would at least solve the process listing security hole (provided you protect and delete the file).<BR>
<BR>
Sounds like we need to check and see if open process is working on OS X yet. Anyone?<BR>
<BR>
<BLOCKQUOTE CITE STYLE="BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px" TYPE="CITE"></FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2">On a multiuser machine that would be a security risk. Any user could<BR>
see the password in cleartext if they happened to run "ps" while the<BR>
command above was executing. On a single user machine it wouldn't<BR>
really matter, but a better solution would be to wrap the sudo command<BR>
using open/read/write process.<BR>
</BLOCKQUOTE></FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2"><BR>
<BR>
<BR>
<BR>
<BR>
<BR>
------------------------------<BR>
Brian Yennie<BR>
Chief Technology Officer<BR>
QLD Learning, LLC<BR>
www.QLDLearning.com<BR>
<BR>
PH: (904)-997-0212<BR>
EMAIL: Yennie@aol.com<BR>
-------------------------------<BR>
</FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2"></FONT></HTML>