dsmemberutil checkmembership -U 'user' -G 'usergroup'Where user is the username you're interested in and usergroup is the group you want to check to see if they're in.
Subscribe to:
Post Comments (Atom)
About Me
- John Erck
- I code. I figured I should start a blog that keeps track of the many questions and answers that are asked and answered along the way. The name of my blog is "One Q, One A". The name describes the format. When searching for an answer to a problem, I typically have to visit more than one site to get enough information to solve the issue at hand. I always end up on stackoverflow.com, quora.com, random blogs, etc before the answer is obtained. In my blog, each post will consist of one question and one answer. All the noise encountered along the way will be omitted.
Blog Archive
-
▼
2013
(49)
-
▼
February
(13)
- How do I setup a snakeoil certificate on my new De...
- How do I setup my new Debian 6.0 (squeeze) server?
- How do I install phpMyAdmin on my new server?
- How do I install MySQL & PHP on my new server?
- Why is MAMP PRO so slow?
- My .gitignore file isn't working as expected. How ...
- How do I show a list of all files and directories ...
- How do I reload changes I've made to Apache's conf...
- How do I check if a user is a member of a specific...
- How do I list the users on my Mac via the command ...
- How do I list the usergroups on my Mac via the com...
- How do I change a directory's group (or owner) on ...
- How do I setup an Apache 2 web server running on D...
-
▼
February
(13)
No comments:
Post a Comment