User Tools

Site Tools


unix:osx:rdesktop_script

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
unix:osx:rdesktop_script [2010/03/05 02:51]
ben
unix:osx:rdesktop_script [2010/03/05 02:55] (current)
ben
Line 31: Line 31:
 pass=$(echo $passline|grep -e ^password:) pass=$(echo $passline|grep -e ^password:)
  
-#If the last command ​was NOT successful (security outputs the password as stderr!) +#Depending on the success of the last command, we either output an error, or 
-#then get the password via a cut and the account name via a grep and cut+#get the password via a cut and the account name via a grep and cut
 if (( $? )) if (( $? ))
  then   then 
unix/osx/rdesktop_script.1267775475.txt.gz · Last modified: 2010/03/05 02:51 by ben