GithubHelp home page GithubHelp logo

jss's People

Contributors

colemanross avatar digitalraven avatar dsavageed avatar gavinandersonguvnor avatar gkluoe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jss's Issues

SALT Help

Sorry, I'm new to this, any documentation/youtube etc. you can point me to in order to learn how to salt the username and password? Never used Salt before. I think I understand how it works, and how to generate for a password, but not how to use it with your variables and generate it to pair a username with a password or encrypt both?

Question about coreconfig-softwareupdate-run.py

When using coreconfig-softwareupdate-run.py in Jamf, what would you set the execution frequent to if using recurring check-in as the trigger? I assume from examining the script that the /var/db/UoESoftwareUpdateDeferral file is what will prompt the users each day during the deferral period?

Thanks!
Scott

Two problems with coreconfig-softwareupdate-run.py

Hi, I've come across two problems with coreconfig-softwareupdate-run.py:

  1. On a 10.13.6 machine, the script appears to continue when the user presses "Restart Now", and logs the user out, but nothing else happens:
Downloading updates
OK to defer until 2018-11-10 10:27:08
User permitted immediate update
Setting up the updates index file
Setting up 041-18191 to install at logout
Setting up 041-01598 to install at logout
Setting updates to run on logout

/Library/Updates/index.plist does appear to have been updated, but no software updates run at logout or on subsequent manual logouts. It seems like it's missing some trigger to kick off the updates. I note that neither /var/db/.AppleLaunchSoftwareUpdate nor /var/db/.SoftwareUpdateOptions have been written (or, at least, they don't exist after a reboot), so that might be something to do with it.

  1. On a 10.14.1 machine, the script crashes when the user presses "Restart Now". It looks like /Library/Updates is now SIP-protected in Mojave, so the index.plist file cannot be updated.

General: make paths explicit

When calling tools from scripts, we should be explicit about paths. /usr/bin/python and python have quite different meanings sometimes! I've noticed his in software-update-2019 but it'll be in other places, too.

In theory $PATH will be set consistently so there's some protection there, but especially when testing we should ensure that we're using the expected versions of things wherever possible.

software_update_2019 non restart updates

I updated the script to the April 15th version and ran it on a machine that has a pending update for a recommended, non-restart update and the popup displays that the machine requires a restart and only provides Apply now as an option.
Screen Shot 2019-04-18 at 10 33 26 AM
Screen Shot 2019-04-18 at 10 32 42 AM

Applescript timeouts

If the user doesn't interact with the script when a dialog is on the screen, the default applescript timeout kicks in - resulting in the box being displayed again, and again, and again...

coreconfig-softwareupdate-run not working with 10.14.4

I ran this on a 10.14.3 machine to update to 10.14.4. The script found and prompted for the update, but then just kind of hung there after it cached the download. A force restart caused it to reboot to recovery partition saying the startup disk needed to update and awaited a prompt to continue. After selecting continue it booted up again but wasn't on 10.14.4. I ran the script again and this time it started the install...
Attached are the first run Jamf recorded log, the terminal output (I kicked off the policy manually), and the install.log output from the update. The first run.txt file, @ 8:17 where the error is, was from when I finally gave up and hit ctrl-c to break out of the Jamf function. The 2nd time running through terminal (after reboot) didn't upload any record to Jamf, so no log available to provide, but it did complete successfully.

softwareupdate deferral.log

cmd.log
first run.txt

jss/utilities-fix-file-names.sh

Can this script be easily updated for more folders to scan through? I want it to go through Desktop, Documents, Downloads, Movies, Music, and Pictures?

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.