Skip to content

Instantly share code, notes, and snippets.

View JordyThery's full-sized avatar

Jordy Thery JordyThery

View GitHub Profile
#!/bin/bash
# Get the current user and their UID
currentUser=$( scutil <<< "show State:/Users/ConsoleUser" | awk '/Name :/ && ! /loginwindow/ { print $3 }' )
currentUserID=$( id -u "$currentUser" )
# This is the line we need to add to enable TID
enableTouchID="auth sufficient pam_tid.so"
# Original sudo file location
#!/bin/sh
# Add a Microsoft Remote Desktop bookmark entry for the specified computer.
#
# Neil Martin - https://soundmacguy.wordpress.com - @neilmartin83
#
############################
#
# Use Parameter 4 in Jamf to specify the hostname or IP address of the bookmark you wish to add e.g. myawesomepc.com (required)
#
#!/bin/zsh
## postinstall
pathToScript=$0
pathToPackage=$1
targetLocation=$2
targetVolume=$3
# Optionally replace the value of this variable with the name of your organization.
organizationIdentifier=com.arekdreyer