Open your sudo file:
sudo vi /etc/pam.d/sudoAdd the following after the first line:
auth sufficient pam_tid.soIn iTerm, go to the Advanced section in Preferences and set Allow sessions to survive logging out and back in to No.
Open your sudo file:
sudo vi /etc/pam.d/sudoAdd the following after the first line:
auth sufficient pam_tid.soIn iTerm, go to the Advanced section in Preferences and set Allow sessions to survive logging out and back in to No.