Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Create a new user via the Terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create a new user via the Terminal
Authored by: kirkmc on Jun 06, '03 07:56:32AM

There's a problem with the Home directory creation part of this tip. If you try it, you'll find that, first of all, the user's directory gives no read rights to others. It should do this, so others can access their public folder. Second, it doesn't copy all the directories in English.lproj.

The correct procedure is the following:

% sudo ditto /System/Library/User\ Template/English.lproj /Users/newuser

% sudo chown -R newuser:staff /Users/newuser

Kirk



[ Reply to This | # ]
Create a new user via the Terminal
Authored by: geordie on Jun 06, '03 11:03:55AM

Using "/usr/sbin/createhomedir -u username" is easier than creating the home directory manually. Actually I just usually do createhomedir -a after creating all the users accounts.



[ Reply to This | # ]