consequences of changing uid/gid on snow leopard

Posted by Peter Carrero on Super User See other posts from Super User or by Peter Carrero
Published on 2010-04-25T16:46:24Z Indexed on 2010/04/25 16:53 UTC
Read the original article Hit count: 425

ok, so I introduced a Mac laptop to my home network of Kubuntu hosts and Fedora servers. Currently I don't have NIS or LDAP setup (I got only 2 users) and I just manually setup the UID/GID on the hosts. I would like to run the following command on my Macbook:

dscl . -change /Users/me UniqueID 501 1000
dscl . -change /Users/me PrimaryGroupID 20 503
chown -R 1000:503 /Users/me
dscl . append /Groups/staff GroupMembership me

Before I go on to hose my new Mac, I would like to know if this is the right thing to do and, if so, what are the adverse consequences I may have.

Thanks.

© Super User or respective owner

Related posts about osx

Related posts about user-accounts