GithubHelp home page GithubHelp logo

Comments (4)

macmule avatar macmule commented on June 16, 2024

@prbsparx Why not lock out the preference window? https://github.com/macmule/ADPassMon/wiki/Customization#lock-out-the-preferences-window

from adpassmon.

pboushy avatar pboushy commented on June 16, 2024

The difference is enforcing a single preference item. For instance, I might want to set the password expiration refresh to 12 hours and not allow the end user to change that, but I do want them to be able to enable notifications and set how far ahead it notifies them.
I was actually going to look into this tonight and chat with the group in Slack about how it could be done and what the best method might be.

from adpassmon.

macmule avatar macmule commented on June 16, 2024

This can be done with CFPrefs:


import CoreFoundation

domain = 'com.apple.Spotlight'
key = 'parsecEnabled'

key_value = CoreFoundation.CFPreferencesCopyAppValue(key, domain)
print 'Key Value = ', key_value

key_forced = CoreFoundation.CFPreferencesAppValueIsForced(key, domain) 
print 'Key Forced = ', key_forced

with the "CFPreferencesAppValueIsForced" key advising if forced via a profile.

from adpassmon.

macmule avatar macmule commented on June 16, 2024

Hi folks,

ADPassmon is no longer maintained, please use NoMAD.

As such, i'm closing this off.

from adpassmon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.