Skip to content

Time to trigger password cycle not overriding the default .plist settings? #24

@ecomatt

Description

@ecomatt

Hi I'm using this amazing script to create an admin account and then cycle the password.
What im struggling with is the ability to set the cycle time after viewing (decoding)

Ive set $6 Time to trigger password cycle (in minutes) to say 3hours, on the decode script.
But the com.laps.triggercycle.plist launch daemon is set to H16 M15?

<?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.LAPS.triggerCycle.plist</string>
	<key>ProgramArguments</key>
	<array>
		<string>/usr/local/bin/jamf</string>
		<string>policy</string>
		<string>-event</string>
		<string>createLAPS</string>
	</array>
	<key>RunAtLoad</key>
	<false/>
	<key>StartCalendarInterval</key>
	<dict>
		<key>Hour</key>
		<integer>16</integer>
		<key>Minute</key>
		<integer>15</integer>
	</dict>
	<key>UserName</key>
	<string>root</string>
</dict>
</plist>

Any thoughts would be greatly appreciated.
Thanks again for such a great set of scripts that actually work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions