Mac Users from CLI

Mac Users from CLI

To find all available users on a macOS system from the command line, you can use a Bash script. The macOS operating system, like other Unix-like systems, stores user information in various system files, primarily in /etc/passwd. macOS uses Open Directory for user management, so you can use commands like dscl to query this information. …

February 16, 2024 · 3 min
User Systemd Services

User Systemd Services

The systemd manager allows configuring services from a normal system user. These systemd user services are a little-known but very useful feature. It consists of being able to create and use .service files from a user’s local directory that run with their privileges. …

May 30, 2021 · 2 min