Correct procedure for adding users with niutil?

Gwailo

B.A. Economics (Hon)
I'd like to know how to to add users using "niutil".

Essentially, I need to know the correct procedure, and which key-value paris are necessary for a terminal-only user (SSH/FTP).

I looked through testuser's addFTPUser script and it was quite informative, I just want to make sure that there isn't some PERL thing hidden somewhere that I need to do that's not covered by niutil. (I don't know any PERL so decoding it would be hard, I also don't want to risk destroying my user reigstry...)

Is there a master list/ or dare I say registry :eek:, that keeps track of all the users. If so is that written to by niutil? Do I need to create a new folder manually for the user, or will niutil do that for me?

Thanks for any help!
 
Name: username (long or short version)
UID: user ID number, any number that's not taken will do?
GID: help, no idea whatsoever
Shell: /bin/tcsh (or alternatively /dev/null)
Home: ~/ (their home path)
Passwd: passwd linux style encrypted password?

Thanks testuser, this is exactly what I needed, now if I can just make sure I've got those fields correct I'm on my way...
 
Back
Top