You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did you know Apple has not shipped a computer with TPM since [2006](http://osxbook.com/book/bonus/chapter10/tpm/)?
1996
1996
1997
+
MacOS comes with this line in /etc/sudoers:
1998
+
1999
+
````
2000
+
Defaults env_keep += "HOME MAIL"
2001
+
````
2002
+
2003
+
Which stops sudo from changing the HOME variable when you elevate privileges. This means it will execute as root the bash dotfiles in the non-root user's home directory when you run "sudo bash". It is adviseable to comment this line out to avoid a potentially easy way for malware or a local attacker to escalate privileges to root.
2004
+
2005
+
1997
2006
## Related software
1998
2007
1999
2008
[Santa](https://github.com/google/santa/) - A binary whitelisting/blacklisting system for macOS.
0 commit comments