<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>macos on Ikoma's Blog</title><link>https://blog.yusukeikoma.com/tags/macos/</link><description>Recent content in macos on Ikoma's Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Fri, 30 Oct 2026 17:10:00 +0900</lastBuildDate><atom:link href="https://blog.yusukeikoma.com/tags/macos/index.xml" rel="self" type="application/rss+xml"/><item><title>Binding a sudoers-allowed root helper to SUDO_UID so it cannot register a macOS LaunchDaemon as root</title><link>https://blog.yusukeikoma.com/posts/sudo-helper-bind-launchdaemon-to-sudo-uid/</link><pubDate>Fri, 30 Oct 2026 17:10:00 +0900</pubDate><guid>https://blog.yusukeikoma.com/posts/sudo-helper-bind-launchdaemon-to-sudo-uid/</guid><description>To run a background process on a Mac from boot, you register a LaunchDaemon as root. I split just that step into a root helper, so admins could allow only that helper in sudoers. But the helper wrote the run-as user from its arguments straight into the plist. Pass root, and any binary would run as root at every boot. This post shows how the helper now checks its input against SUDO_UID and the account database.</description></item></channel></rss>