sharesuf.blogg.se

Brew install acrobat reader
Brew install acrobat reader






brew install acrobat reader

Script result: Argument expected for the -c option I am trying the above for adobe or citrix brew from JAMF and i continue to fails with the below Sudo -u $loggedInUser 'brew install wget' LoggedInUser=`python -c 'from SystemConfiguration import SCDynamicStoreCop圜onsoleUser import sys username = (SCDynamicStoreCop圜onsoleUser(None, None, None) or ) username = ] (username + " Using the Apple method, your script would look like: #!/bin/sh The Apple approved way is documented in post here: Get Currently Logged In User loggedInUser=`python -c 'from SystemConfiguration import SCDynamicStoreCop圜onsoleUser import sys username = (SCDynamicStoreCop圜onsoleUser(None, None, None) or ) username = ] (username + " Instead, use one of the many ways you can find on here to find the logged in user, like: currentUser=`/usr/bin/last -1 -t console | awk ''`

brew install acrobat reader

The $3 variable is only populated during a login, I believe, so you would not be able to use that variable if the user is already logged in.








Brew install acrobat reader