"Fossies" - the Fresh Open Source Software Archive

Member "unix/Darwin/dmg/files/pandorafms_uninstall/PandoraFMS agent uninstaller.app/Contents/Resources/ask_root" (15 Sep 2021, 305 Bytes) of package /linux/misc/pandorafms_agent_unix-7.0NG.757.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/usr/bin/osascript
    2 
    3 set my_password to display dialog "Please provide root password to uninstall Pandora FMS agent:" ¬
    4 	with title "Root confirmation" ¬
    5 	with icon caution ¬
    6 	default answer "" ¬
    7 	buttons {"Cancel", "OK"} default button 2 ¬
    8 	with hidden answer
    9 return (text returned of my_password)