Mac os list users terminal

And as of November , some users running OS See this forum thread on Apple's website for more information. For background information on the root user account - what it can do, and how you can use it - see this article.

Stubborn user accounts returning when deleted in OS X - CNET

A former ghost writer for some of Apple's most notable instructors, Cone founded Macinstruct in , a site with OS X tutorials that boasts hundreds of thousands of unique visitors per month. You can email him at: matt macinstruct. The place to learn about your Mac. Tips and tutorials for novices and experts. Acting as Root with Sudo Before you enable the root user account on your Mac, you should know about an alternative called sudo. Click the lock and authenticate with an administrator account. Select Login Options. Click Join, as shown in the figure below.

Click Open Directory Utility. The Directory Utility window appears. From the Edit menu, select Enable Root User. Enter the password for the root user in the Password and Verify fields. Click OK to enable the root user and save the password. Remember, you should only log in as the root user when absolutely necessary. Disabling the Root User Account Once you've used the root user account to flex your superuser muscles, you should consider disabling it for security purposes.

From the Edit menu, select Disable Root User.

Apple Footer

The root user is now disabled. As a result, while those approaches may be appropriate for the casual Mac user looking to show what users they have on a computer, neither of those methods are particularly sufficient for most admin needs. But, by turning to the command line you can reveal all user accounts on a Mac, whether they are general user accounts of active users, admin accounts, as well as any system account.

The benefit or trouble with this approach is that it lists not only all user accounts on a Mac but it also shows every daemon and server process account. Another approach would be to show and list a detailed account list of user accounts, the associated user account directory, and the user account GECOS info which is usually a description of the account or a full user name.

The output of that command will be rather extensive, so you may want to pipe the result through more or less or redirect it into a text file for easier parsing. There are likely other means of displaying all user accounts on a Mac, regardless of system version, if you know of an effective of informative method not covered here, do share it in the comments.

About philastokes

Enjoy this tip? Subscribe to the OSXDaily newsletter to get more of our great Apple tips, tricks, and important news delivered to your inbox!


  • How to List All User Accounts on a Mac from Command Line?
  • Stubborn user accounts returning when deleted in OS X.
  • come craccare un programma mac;
  • What's New.

Enter your email address below:. I got deamons and roots, and some of the other users were anonymous. I dont exactly know, what a deamon is, and what a root user is. Can someone please tell me why i do have more than 59 accounts on my mac, is it bad?

Force Mac OS X Login Screen to Show Username & Password Fields From User List View

Listing all accounts on a Mac will show many that are NOT users, but daemons etc. Those are for system processes, those are not user accounts. Root is super user, every Mac has root. Great post. Very helpful. Previous to I found users, my user name, and then under my selected user name it said admin.

How to use the command line on Mac

This made sense. I am using High Sierra v Maybe I will write a book one day! Excellent suggestions, thank you all. Can someone tell me why Groupmembership would state: root and my computer name here. This will delete the user from the directory. Then if you want to delete the user folder you can do.


  • Navigation menu.
  • Want To Learn More??
  • make ubuntu look like mac os x snow leopard!
  • boot mac laptop as hard drive.
  • video making software free download mac.
  • folder action setup mac os x!

I have listed the users on my mac suspecting that someone had hacked my Mac as it had turned out to be very slow. That is in addition to my created users. Does this mean that everything is ok, or should I start worrying! Maybe post at the Apple Discussions forum? Or a bad file system. Just checking something as I am not a command line user. When I use dscl. Who is this and should I get rid of it?