<p dir="ltr">I am working on my mac setups and am wanting to ping the server every so often and check to see if their user is enabled or disabled.  If Disabled then I will show them the login screen, log them out or something else..  What I need is how to check to see if they are enabled or not through bash...  Anyone done sometime similar? </p>