Skip to content

SFCOMPY™ :: Computer Repair Blog :: IT Blog

  • .HOME
  • .CATEGORIES
    • Ads
    • Audio
    • Booting
    • Data Recovery
    • Drivers
    • Data Recovery
    • File System
    • Hardware
    • Network
    • OS
    • Software
    • Security
    • System
    • User Account
    • Utility
    • Video
    • Web Browser
  • .MY ACCOUNT
  • .ABOUT
    • .Privacy Policy
    • .Terms
  • .SFCOMPY™
  • Toggle search form
sfcompy-spend-hours-ad
  • sfcompy-inmotion-cyber-month
    InMotion Hosting – Cyber Week/Month Ads
  • sfcompy namecheap ninja-black Friday deals
    NameCheap Black Friday: Web Ninjas unite! Ads
  • NameCheap Web Security QR SFCOMPY
    #ChooseNamecheap Web Security -Internet protection for you and your customers Ads
  • Namecheap! Transfer .COM and save 16% Ads
  • InMotion! Shared Hosting Landing Page Ads

Get the User’s List – MacOS CLI

Posted on June 10, 2021November 21, 2021 By SFCOMPY™ Editor No Comments on Get the User’s List – MacOS CLI
sfcompy_macosx_users

A simple way to get the MacOS users list, from security perspective this a simple way to recognize unauthorized and suspicion user activities

# List All Users

bash> dscl . -list /Users

# Exclude user/s from users list

bash> dscl . -list /Users | grep -vE "_|root|nobody|daemon|Guest" 

Related posts:

  • sfcompy_macosx_suso_userCreate a Sudo User - MacOS CLI
  • sfcompy_blog_412x331Hide or Show the mac Users folder - MacOS CLI
  • sfcompy_blog_412x331Find the Running Process of a Given User - MacOS CLI
User Account Tags:All Macs, Command Line (CLI), iMac, mac, Mac Mini, MacBook, Pro and Advance User

Post navigation

Next Post: Hide or Show the mac Users folder – MacOS CLI

Leave a Reply Cancel reply

You must be logged in to post a comment.

InMotion Hosting - Cyber Week/Month Dedicated Hosting Landing Page

Recent Posts

  • sfcompy-protected-zip-filePassword Protected Zip file – MacOS CLI
    July 16, 2021
  • sfcompy-zip-archive-and-comoressZip or UnZip files and folders – MacOS CLI
    July 13, 2021
  • sfcompy_blog_412x331Show Hidden files – MacOS CLI
    June 23, 2021

InMotion Shared Hosting Landing Page Sale

InMotion WordPress Hosting Landing Page Sale

InMotion Reseller Hosting Landing Page

Categories

  • Ads (5)
  • Data Recovery (1)
  • File System (3)
  • Network (4)
  • OS (3)
  • Security (9)
  • Software (1)
  • System (3)
  • User Account (5)
  • Utility (4)
  • Video (1)
  • Web Browser (1)

Tag

All Ads (4) All Android (2) All IOS (2) All Linux (2) All Macs (12) All Windows (4) Command Line (CLI) (8) iMac (8) InMotion (2) mac (1) MacBook (8) Mac Mini (8) namecheap (2) Pro and Advance User (7) Standard or local User (1)
May 2026
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031
« Mar    
  • Sign a pdf file Using Microsoft Edge
  • InMotion Hosting – Cyber Week/Month
  • NameCheap Black Friday: Web Ninjas unite!
  • #ChooseNamecheap Web Security -Internet protection for you and your customers
  • InMotion! Shared Hosting Landing Page

  • Sign a pdf file Using Microsoft Edge
  • InMotion Hosting – Cyber Week/Month
  • NameCheap Black Friday: Web Ninjas unite!
  • #ChooseNamecheap Web Security -Internet protection for you and your customers
  • InMotion! Shared Hosting Landing Page
  • Sign a pdf file Using Microsoft Edge
  • sfcompy-inmotion-cyber-monthInMotion Hosting – Cyber Week/Month
  • sfcompy namecheap ninja-black Friday dealsNameCheap Black Friday: Web Ninjas unite!
  • NameCheap Web Security QR SFCOMPY#ChooseNamecheap Web Security -Internet protection for you and your customers
  • InMotion! Shared Hosting Landing Page
  • Sign a pdf file Using Microsoft Edge Software
  • Namecheap! Transfer .COM and save 16% Ads
  • sfcompy_blog_412x331
    Show Hidden files – MacOS CLI File System
  • sfcompy namecheap ninja-black Friday deals
    NameCheap Black Friday: Web Ninjas unite! Ads
  • sfcompy-vsc-color-theme-screens
    SFCOMPY™ Visual Studio Code Color Theme For Pro System
  • sfcompy-protected-zip-file
    Password Protected Zip file – MacOS CLI File System
  • sfcompy_blog_412x331
    Hide or Show the mac Users folder – MacOS CLI Security
  • NameCheap Web Security QR SFCOMPY
    #ChooseNamecheap Web Security -Internet protection for you and your customers Ads
  • About
  • Cart
  • Category
  • Checkout
  • Computer Repair & IT Service Blog
  • My account
  • Post Page
  • Privacy Policy
  • Shop
  • Terms

Copyright © 2026 SFCOMPY™ Computer Repair & IT Blog .

Powered by SFCOMPY™ WP Theme for Pro WordPress theme