Files
dyolink/infrastructure/scripts/copy-prod-backup-askpass.sh
rameen b62292cab7 docs: ask for the server password when the Mac copies backups at 17:00
A login item at 17:00 Iran time shows a password box and copies every dump still on the server. The password is not saved.
2026-10-06 19:12:30 +03:30

5 lines
362 B
Bash
Executable File

#!/bin/bash
# Shown by SSH when the copy runs with no terminal (the 17:00 Mac job).
# Prints the password to SSH only. Does not save it.
osascript -e 'text returned of (display dialog "Enter the nudentic server password." default answer "" with hidden answer buttons {"Cancel", "Copy"} default button "Copy" cancel button "Cancel" with title "Nudentic backup")'