I'm working on a shell script for a project that needs to detect in it if the logged in user is a local or AD account. Can someone point me in the right direction?
Question
how to check if user is a local or AD user?
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
