$ sudo dscl . -create /Users/ak UniqueID 9423
$ dscl . -read /Users/ak|grep Uni
UniqueID: 9423
/Users $ sudo chown -R ak ak

Comments:

Here's the actual command to change the user's uid #:

dscl . -change /Users/username UniqueID old# new#

You should run "chown -Rh username /Users/username" after running the command above (as root).

Posted by t35t0r on December 03, 2007 at 11:29 AM PST #

Hallo Axel, danke für den Tipp! Gruss Volker

Posted by Volker Hergesell on January 30, 2008 at 01:37 PM PST #

Just try chpass username by root
U can change everything there. But of course additionally you have to owner of home directory.

Posted by Swk on May 07, 2008 at 11:56 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed

This blog copyright 2009 by axelk