Changing Global Protect Portal Using plist without Restarting Mac

Reply
Highlighted
L1 Bithead

Changing Global Protect Portal Using plist without Restarting Mac

Here are the steps I've tried in chaning the portal Global Protect.app without restarting the Mac:

 

  • Packaged up /Library/Preferences/com. paloaltonetworks.GlobalProtect.settings.plist and ~/Library/Preferences/com. paloaltonetworks.GlobalProtect.settings.plist with the new <portal>
  • Deployed package to both paths listed above (Mac does not take setting after package is installed)
  • Attempted to restart the client with a script (Works from terminal, but when script is run from JAMF)
  • Rebooting Mac will make the portal setting take (Don't want to reboot end point, however)

 

Anyone successfully done this without restarting the Mac?

 

Thanks in advance,

Shawn

Highlighted
L1 Bithead

Re: Changing Global Protect Portal Using plist without Restarting Mac

Highlighted
L4 Transporter

Re: Changing Global Protect Portal Using plist without Restarting Mac

Hi,

 

So you mean it works from the terminal, but not from your management software? What is the command you're using to restart the client from the terminal?

 

By the way, I don't think we can access your cases.

 

Benjamin

Highlighted
L1 Bithead

Re: Changing Global Protect Portal Using plist without Restarting Mac

I've tried several vesions of which user to remove / load the LaunchAgent shown below:

 

sudo launchctl remove com.paloaltonetworks.gp.pangps
sudo launchctl remove com.paloaltonetworks.gp.pangpa

 

sudo "launchctl load /Library/LaunchAgents/com.paloaltonetworks.gp.pangpa.plist"
sudo "launchctl load /Library/LaunchAgents/com.paloaltonetworks.gp.pangps.plist"

Highlighted
L4 Transporter

Re: Changing Global Protect Portal Using plist without Restarting Mac

I normally use the following command to restart the GlobalProtect service:

 

launchctl kickstart -k gui/`id -u`/com.paloaltonetworks.gp.pangps

 

Similarly, for the agent:

 

launchctl kickstart -k gui/`id -u`/com.paloaltonetworks.gp.pangpa

 

Benjamin

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!