Last active
October 15, 2019 09:47
-
-
Save snerpton/1eca1a82614d7685c00bc9a0ef4d419b to your computer and use it in GitHub Desktop.
Useful UNIX commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#OSX: Query when a password was last set | |
dscl . read /Users/<username> | grep --context=3 passwordLastSetTime | |
#OSX: Set password policy | |
#https://drpebcak.svbtle.com/managing-local-password-policy-with-pwpolicy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment