I am new to Mac OS X administration and also to Homebrew.
I am administering Mac OS X machines and I am trying to reduce manual administrative actions.
We made the choice to use Homebrew Cask to do it.
I created a daemon which launch a script regularly to update my brew apps.
It was working well until we deployed some apps requiring a password to be updated.
Apps with autoupdate set to true are not updating automatically and most of the time would require a password to update.
I then decided to use the parameter --greedy to force the update of this application via homebrew in my script instead of being updated by the app updater itself.
I found this a bit crapy but it worked for Signal.
I am now stucked if an app is requiring a password with the brew cask upgrade command.
I cannot figure out to solve this. I do not want to go on each Mac and type a password.
I should not be alone wanting to do this.
Maybe I am using the wrong way.
Can someone tell me if my approach is the right one and give me a direction if not?
Any help would really be appreciated.
Thanks in advance