Need a unique gift idea?
A Pastebin account makes a great Christmas gift

check status of root user on macOS

applehelpwriter Nov 29th, 2017 (edited) 231 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. # check status of root user on macOS
  2. # 2017 philstokes @sqwarq,,
  4. set rootUser to " disabled."
  5. try
  6.     do shell script "dscl . -read /Users/root | grep ShadowHash"
  7.     set rootUser to " enabled."
  8. end try
  9. set msg to "Root user is" & rootUser
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand