If you need to change the user and the group id of an account under Mac OS X, you have to follow theses steps. We suppose that the actual id for the user and the group is 666 and we want to change them to 999.
- Logged as MY_USER type the command id
- The uid = User ID and gid is the Group ID. Note thems...
- Log with another account
- sudo dscl . -change /Users/MY_USER UniqueID 666 999
- sudo dscl . -change /Users/MY_USER PrimaryGroupID 666 999
- sudo chown -R 999:999 /Users/MY_USER
- Open a session with MY_USER
No comments:
Post a Comment