With Linux/Unix, I can use useradd -G developers vivek
to add vivek to the developer group. How can I do the same thing with Mac OS X?
Then, how do I check if vivek is in developers group?
command linegroupuser-account
With Linux/Unix, I can use useradd -G developers vivek
to add vivek to the developer group. How can I do the same thing with Mac OS X?
Then, how do I check if vivek is in developers group?
Best Answer
I've used this one-liner: