#!/bin/bash

osascript <<EOF
tell application "System Events"
    activate
    text returned of (display dialog "Administrator privileges required:" default answer "" with hidden answer buttons {"OK"} default button 1)
end tell
EOF

