From fcb6c9bd8e42770a37f200ea97d4ed909e1ffe34 Mon Sep 17 00:00:00 2001 From: cronekorkn Date: Thu, 20 Apr 2023 11:24:45 +0200 Subject: [PATCH] bundles/macbook/files/macbook-update: sudo, pyenv --- bundles/macbook/files/macbook-update | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/bundles/macbook/files/macbook-update b/bundles/macbook/files/macbook-update index 684c6ae..fcf5a00 100644 --- a/bundles/macbook/files/macbook-update +++ b/bundles/macbook/files/macbook-update @@ -1,5 +1,15 @@ #!/bin/bash -l +sudo tee /etc/pam.d/sudo << EOT +# sudo: auth account password session +auth sufficient pam_tid.so +auth sufficient pam_smartcard.so +auth required pam_opendirectory.so +account required pam_permit.so +password required pam_deny.so +session required pam_permit.so +EOT + xcode-select --install git -C ~/.zsh/oh-my-zsh pull @@ -7,7 +17,7 @@ git -C ~/.zsh/oh-my-zsh pull brew upgrade brew upgrade --cask --greedy -pyenv install +pyenv install --keep-existing sudo softwareupdate -ia --verbose