Create user, group and edit group membership in macOS

Quick commands to create user and group in macOS with specific uid and gid, and to add a specific user to newly created group. Add group sudo dscl . -create /Groups/<name> gid <gid> Add user sudo dscl . -create /Users/<name> sudo dscl . -create /Users/<name> UniqueID “<uid>” sudo dscl . -create /Users/<name> PrimaryGroupID <gid> Add existing user to new group sudo dscl . append /Groups/<name> GroupMembership <user> Wish macOS actually used useradd/groupadd like linux systems, …

Read moreCreate user, group and edit group membership in macOS

Every Little Bit Matters

Many a times we believe there is a secret special sauce to being a leader, and to motivate people. Reality is that, there is no single sauce. In fact, there are many tiny droplets of flavor into play, and that many of those we already know/do. Take for example, a simple gesture of saying good morning to your team every single day, either in-person or on your company’s instant messaging tool. That simple gesture goes …

Read moreEvery Little Bit Matters

2021 Reading Challenge

My 2021 reading challenge was 8 books. I ended 2021 with only 6 books read, that’s 75% of the goal and 1 book every 2 months. I seem to have failed in my challenge and for sure I would be considered one of the slowest readers out there. However, 2021 was also one of the toughest years. While for the records, pandemic was still ongoing, which adds to stress in itself. My family in India …

Read more2021 Reading Challenge

Restarting HDHomeRun Quattro

If you have an immediate need to reboot your TV Tuner but are feeling lazy to not go down to basement to your server room, then fear not, there’s a CLI called hdhomerun_config Download the binary from HDHR site: https://info.hdhomerun.com/info/hdhomerun_config Run the command hdhomerun_config 1076C29C set /sys/restart self