You can activate a permanent password for anattended access on your mac.
The setup is very close to the setup on Windows devices. Just browse into the TeamViewer settings via Preferences --> Security.
In our Knowledge Base, you can find a very good description: https://community.teamviewer.com/t5/Knowledge-Base/Secure-unattended-access-to-devices/ta-p/1227 (the description is for Windows devices, but the steps are also valid for Mac).
All the best, Esther
... View more