|
|
Script the Login window through Apple Remote Desktop
Great hint and link, thank you! Does anyone know what would happen if a student decided not to login but clicked in the password field and left. Since it's actually typing in the field and then tabs to the next field, could someone see your password? Curtain mode is broken in ARD (at least mine is) so could any of these potentially expose your password, if the fields get reversed? Would there be a way to make sure the first field selected is the username field? Thanks for any suggestions.
Script the Login window through Apple Remote Desktop
That is where my original script owns any other solution that is out there. You can have incorrect fields selected and the script will select the appropriate field. ---
Jon McCullough Systems Support Specialist
Script the Login window through Apple Remote Desktop
There is nothing wrong with other scripts - they do the job, but the one I worked long and hard to find a solution for is a 100% certainty that it will not expose passwords and will login properly.
Really? You can't think of a single attack vector against sending a shell script containing a plaintext password across the network to be executed (from a world-readable file with a known name) on a machine where it trusts implicitly that the operating system utilities haven't been compromised before typing its password into the second dialog box of any application that happens to be named "SecurityAgent"? Well, how about this one, for starters: mkfifo /tmp/Login_Automatically.sh ; cat /tmp/Login_Automatically.sh Don't get me wrong. I'm sure your script performs admirably the job it's intended to do, and it may well be secure enough for your purposes. But let's not get cocky and claim with "100% certainty that it will not expose passwords". If anything, you're begging for your password to be stolen as soon as some inquisitive user with a bit more computer knowledge than scruples takes an interest in your remote login scheme. In other words, if you've already deployed this system in your average college computer lab--or, God forbid, a high school lab--then your password is already common knowledge among the student body.
Script the Login window through Apple Remote Desktop
John,
Script the Login window through Apple Remote Desktop
I have since discovered that 10.7 has broke this - an altered version worked for me this morning (even showing this to some of the other tech's in our office) then it broke - now if I run the same code by sending out via ARD it works... I submitted a bug report with Apple because we need this resolved!
and the other option that WAS working but now isn't (and only a few short hours later!): ---
Jon McCullough Systems Support Specialist
Script the Login window through Apple Remote Desktop
Just sent to Apple Bug Report:
ok, new info - if I send the command thru ARD it works and *THEN* it will work in the script - it appears as though "System Events" is not running until then. So either this was done by design or it is a bug. Either way it would be **GREATLY** helpful to know as this is a }}MAJOR{{ functionality of our environment and we are considering moving all 2000 intel machines to 10.7 in a few months. ---
Jon McCullough Systems Support Specialist
Script the Login window through Apple Remote Desktop
Restart the target computers--then you'll have the same field selected on each computer. Not elegant, but doesn't require enabling the accessibility for assistive devices. Luckily I'm not competing with curious kids who might go touch machines that spontaneously restart, so YMMV and enabling accessibility might be the way to go for you. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|