Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
2answers
557 views

How are group ids assigned?

I want to create a developers group on my OS-X system. I'm executing: sudo dscl . -create /groups/developers sudo dscl . -append /groups/developers passwd 'blah' My understanding from reading ...
1
vote
1answer
943 views

Reset dscl UniqueID and PrimaryGroupID of root to 0 on Mac OS X

Because of a very faulty script my root's PrimaryGroupID is 101 and UniqueID is 101. I have still an access to root, I can run sudo from my admin account, but the sudo and root do not have all the ...
0
votes
2answers
627 views

OSX chown problems after creating users with dscl

Alright, so I've made a user and a group using dscl as follows: dscl . -create /Users/deadline dscl . -create /Groups/deadline dscl . -append /Groups/deadline GroupMembership deadline Now I'm ...
0
votes
2answers
1k views

Accidentally deleting all OSX users using dscl

OK, so I just did something really stupid and deleted all the user accounts on an OSX 10.6.6 machine by running this: sudo dscl . -delete /users What I actually wanted to do was delete a single, ...
1
vote
1answer
189 views

Scripting Directory Services without passwords

I'm in an environment where user/group information is maintained in /etc/passwd and /etc/group files, which are NFS mounted. This is nice because we can just edit flat files to change user/group ...
3
votes
3answers
10k views

How can I disable a User Account from the CLI with Mac OS X Server?

Is there any possible solution to disable a User from the CLI e.g. over SSH? There has to be a dscl command for that. Or is there a dsAttrTypeStandard attribute that I can set accordingly? Any ...