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

Adding users from the shell UNIX
"JasonB" has written two shell scripts which enable the addition and deletion of users to your OS X system from the command line. Normally this would be done in Netinfo, but the command line option is nice if you ever want to do this remotely.

His scripts and instructions can be found on this page of his web site.

I have not tried these yet personally, but there's no reason to believe they won't work.
    •    
  • Currently 1.75 / 5
  You rated: 2 / 5 (8 votes cast)
 
[5,619 views]  

Adding users from the shell | 4 comments | Create New Account
Click here to return to the 'Adding users from the shell' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
adduser
Authored by: Anonymous on Dec 14, '00 08:55:10PM

There's a working port of adduser at
http://www.osxfaq.com/downloads/adduser.tar.gz



[ Reply to This | # ]
This port just tanked my OS
Authored by: seven5 on Jan 17, '03 06:11:04PM
i just installed this and added a user with it under 10.2.3 and it tanked my OS. I can no longer su to root, and netinfo has it shaded. I can't install stuff cause it doens't know my root password. I can't su cause it says my user is not in the sudoers file. I don't know what it did, but i'm getting ready to backup all my stuff and format. I would suggest not using this at all...

[ Reply to This | # ]
This port just tanked my OS
Authored by: tulmad on Jan 20, '03 11:55:26AM

Which port tanked your OS? The one in the article or the one in the post above you? I need to add some users, but I'd really rather not break stuff.



[ Reply to This | # ]
Adding users from the shell
Authored by: shurakai on May 08, '03 04:20:01PM

This worked fine for me, except that it didn't create the folders
inside the users home directory (Sites, Desktop, Documents,
Library, etc). any fixes?



[ Reply to This | # ]