New answers tagged script
Solved! This might be really helpful for those with the same issue, follow these steps: Download and install Burp Suite Free Edition in your PC/Mac Go to Proxy->Options and edit the *.8080 interface to "All interfaces" in "Bind to address" Go to your iPhone/Tablet/Whatever and connect it to the same Wi-Fi network your PC is connected to, set up a manual ...
So in the end I never got public key authentication working and i'm sure it's some kind of permissions issue because when i ssh/sftp into the server i can't even cd into the .ssh directory without a permissions error from cygwin. Since I couldn't figure out how to fix this, but I was at least able to get permissions working enough that I could succesfully ...
No - Safari is designed to not run code like that. Could you imagine the damage someone would do with a malicious script to delete all a user's photos if they get them to click a link that could say anything and link to a malicious script underneath?
I guess i need to generate a key from the server itself and provide it to the user then they can connect just using the username and the key will authenticate them right? No. Generate the key on client (ssh-keygen) and upload the public key to server. For example using ssh-copy-id, if the ssh is allowed on the server. There are many how-to's around the ...
Instead of having Terminal.app launch a .command file (I assume), you should set up a LaunchAgent. It will run a command or a script with no user visibility.
You could run your script using the screen utility. This will detach the program from the terminal so even if it is closed the program execution will continue. Screen will exit once the program running in it has finished but not before.
I made an shell script that does the trick #!/bin/sh diskutil mount Recovery\ HD & wait hdiutil attach -quiet -nobrowse /Volumes/Recovery\ HD/com.apple.recovery.boot/BaseSystem.dmg & wait echo "What is the current Firmware password?" read -s OLDPASSWORD echo "What is the NEW Firmware password?" read -s NEWPASSWORD echo ...
Top 50 recent answers are included