Tagged Questions
2
votes
1answer
1k views
What steps are needed to create a new user from the command line on Mountain Lion?
What commands (or script) can create a fully functional user account on Mountain Lion, running only from the command line via terminal or ssh.
It looks like an existing pair of answers might work, ...
0
votes
2answers
193 views
adding a secondary group for user via CLI in Lion is not working
I need to assign a secondary group membership to a user on a client machine running 10.7.4. In CLI
edit3:~ admin$ sudo su -
edit3:etc root# dseditgroup -o edit -a userA -t user QC
edit3:etc root# ...
0
votes
0answers
736 views
How to remove group membership from user using the Lion Terminal?
How to remove a self created daemon user named '_denyhosts' from group 1025(workgroup), 403(com.apple.sharepoint.group.2), 404(com.apple.sharepoint.group.3) and 405(com.apple.sharepoint.group.4) using ...
3
votes
3answers
2k views
How to add user to a group on command line?
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?
8
votes
2answers
695 views
Can user accounts be managed via the command line?
Is there any way to add, remove, or modify user accounts via the command line? I'm not talking about an account for a system process or daemon, I mean is there any way to add a user account, change, ...