Post

Replies

Boosts

Views

Activity

Reply to Running headless app as root for handling VPN and launching microservices
Hi Quinn For your specific question: No, I do not expect this to work with no one logged. My idea is that the user launches some app, this app requests the Device password so it can execute with elevated priviliedges. Then the headless app, the Go microservices while listening to some commands given through another GUI we implemented. The whole concept already works if launched from Xcode as root. It is launching as a normal user by clicking some icon or starting an app that has proven elusive.
Dec ’25
Reply to Running headless app as root for handling VPN and launching microservices
Hi Quinn For your specific question: No, I do not expect this to work with no one logged. My idea is that the user launches some app, this app requests the Device password so it can execute with elevated priviliedges. Then the headless app, the Go microservices while listening to some commands given through another GUI we implemented. The whole concept already works if launched from Xcode as root. It is launching as a normal user by clicking some icon or starting an app that has proven elusive.
Replies
Boosts
Views
Activity
Dec ’25
Reply to Running headless app as root for handling VPN and launching microservices
Hi Quinn Thanks for the reply. My application configures the built-in VPN protocols using the Personal VPN API. This is in Swift. Inside the Go apps, there are some calls to "security" to handle certs. The swift app runs as a headless app, no need for a GUI.
Replies
Boosts
Views
Activity
Dec ’25