Creating profile in Jamf or in general so user cannot turn login itmes off?

11 views
Skip to first unread message

Mario Felix

unread,
Jun 3, 2024, 1:32:47 PMJun 3
to munki-discuss

Mario Felix
12:30 PM (now) 
to munki-discuss
Hi,

does anyone know how to create a configuration profile to Manage Login items via Jamf for Munki for:

app_usage_monitor
appusaged
authrestartd

launchapp
logouthelper

munkiStatus
supervisor

In other words, right know the user can just turn them off, but for other apps there are instructions on how to create a profile so that the user cannot turn them off.

Wondering, if anyone know how to do that or dealt with that before?

Thank you!

Ben Toms

unread,
Jun 3, 2024, 1:56:49 PMJun 3
to munki-...@googlegroups.com

Hi Mario,

 

You can use the Managed Login Items payload option in Jamf Pro.

 

In there, set the rule type to Label Prefix and set the rule value to com.googlecode.munki.

 

Regards,

Ben.

 

--
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/4d5d224b-83af-4f0d-b777-8cf2650af832n%40googlegroups.com.

Mario Felix

unread,
Jun 3, 2024, 2:48:30 PMJun 3
to munki-discuss
Thanks that did the trick. 
Wondering, how did you know what rule type to sue and the rule value?

Thank you!
Mario

Gregory Neagle

unread,
Jun 3, 2024, 2:55:18 PMJun 3
to 'Gregory Neagle' via munki-discuss

And as for the “com.googlecode.munki.”, you’d get that by looking at the LaunchAgent and LaunchDaemon plists.
Example:

$ cat /Library/LaunchDaemons/com.googlecode.munki.appusaged.plist 
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.googlecode.munki.appusaged</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/munki/appusaged</string>
</array>
<key>Sockets</key>
<dict>
<key>appusaged</key>
<dict>
<key>SockPathMode</key>
<integer>438</integer>
<key>SockPathName</key>
<string>/var/run/appusaged</string>
</dict>
</dict>
</dict>
</plist>

If you don’t know about the various LaunchAgents and LaunchDaemons used by Munki, you might read here:


Reply all
Reply to author
Forward
0 new messages