Query Local Accounts

With the JumpCloud Agent installed, the Commands feature in the Admin Portal is a great tool for determining the existing local user accounts on your newly managed JumpCloud System before you bind users to the system. Learn more: Get Started: Commands.

Warning:

If you intend to take over existing local accounts, you must bind a user with a JumpCloud username that matches exactly with the username of the existing local account. Learn more: Take Over an Existing User Account with JumpCloud.

For organizations without a consistent naming convention, using the JumpCloud agent to query existing local accounts can be a great time saver, and ensure that account takeover is successful. Learn more: Naming Conventions for Users.
 

Windows PowerShell Command:

Get-LocalUser

Mac Command:

dscl . list /Users | grep -v '^_' | grep -v 'daemon' | grep -v 'nobody' | grep -v 'root'

Linux Command

cut -d: -f1 /etc/passwd

Back to Top

List IconIn this Article

Still Have Questions?

If you cannot find an answer to your question in our FAQ, you can always contact us.

Submit a Case