image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
LinkBack Thread Tools
  #1  
Old July 6th, 2002, 03:26 PM
Gwailo's Avatar
B.A. Economics (Hon)
 
Join Date: Mar 2002
Location: Ottawa, Ontario
Posts: 330
Thanks: 0
Thanked 0 Times in 0 Posts
Gwailo is on a distinguished road
Unhappy Correct procedure for adding users with niutil?

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 , 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!
__________________
//Gwailo//

iMac TFT 700MHz G4, 786 RAM, 40GB Internal
DVD-ROM/CD-RW 12x8x32
USB 64MB Flash Drive
Wacom Graphire2 Tablet
Epson 777i Colour Printer
Canon PowerShot S30 Digital Camera
JVC GR-DVF21 NTSC MiniDV Camera
Canon EOS Elan II (35mm)

"Like a beautiful flower full of colour and also fragrant, even so, fruitful are the fair words of one who practices them."
--54th Surtra, The Dhammapada

Reply With Quote
  #2  
Old July 7th, 2002, 12:21 AM
Gwailo's Avatar
B.A. Economics (Hon)
 
Join Date: Mar 2002
Location: Ottawa, Ontario
Posts: 330
Thanks: 0
Thanked 0 Times in 0 Posts
Gwailo is on a distinguished road
Clarification

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...
__________________
//Gwailo//

iMac TFT 700MHz G4, 786 RAM, 40GB Internal
DVD-ROM/CD-RW 12x8x32
USB 64MB Flash Drive
Wacom Graphire2 Tablet
Epson 777i Colour Printer
Canon PowerShot S30 Digital Camera
JVC GR-DVF21 NTSC MiniDV Camera
Canon EOS Elan II (35mm)

"Like a beautiful flower full of colour and also fragrant, even so, fruitful are the fair words of one who practices them."
--54th Surtra, The Dhammapada

Reply With Quote
  #3  
Old July 7th, 2002, 03:16 PM
Gwailo's Avatar
B.A. Economics (Hon)
 
Join Date: Mar 2002
Location: Ottawa, Ontario
Posts: 330
Thanks: 0
Thanked 0 Times in 0 Posts
Gwailo is on a distinguished road
Cool

Sounds great, thanks testuser!
__________________
//Gwailo//

iMac TFT 700MHz G4, 786 RAM, 40GB Internal
DVD-ROM/CD-RW 12x8x32
USB 64MB Flash Drive
Wacom Graphire2 Tablet
Epson 777i Colour Printer
Canon PowerShot S30 Digital Camera
JVC GR-DVF21 NTSC MiniDV Camera
Canon EOS Elan II (35mm)

"Like a beautiful flower full of colour and also fragrant, even so, fruitful are the fair words of one who practices them."
--54th Surtra, The Dhammapada

Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
My Month With XP. themacko Apple News, Rumors & Discussion 109 May 2nd, 2006 07:35 AM
OSX loosing his users, help wanted macv Unix & X11 3 November 3rd, 2003 02:10 AM
geeks vs. computer users edX Opinions, & Open Letters 172 July 25th, 2003 11:21 PM
[HOWTO] - Use niutil gatorparrots HOWTO & FAQs 6 December 10th, 2002 03:24 PM
The Register Follow up article FrgMstr Apple News, Rumors & Discussion 52 February 1st, 2002 01:54 PM


All times are GMT -5. The time now is 11:20 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
Copyright 2000-2010 DigitalCrowd, Inc.