home *** CD-ROM | disk | FTP | other *** search
/ Education Sampler 1992 [NeXTSTEP] / Education_1992_Sampler.iso / NeXT / Misc / HigherEducationMailbox.mbox / Archives_provide_val_.attach / May_91 / sysadmin.329 < prev    next >
Text File  |  1991-05-21  |  1KB  |  34 lines

  1. {\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f2\fmodern Ohlfs;}
  2. \paperw13040
  3. \paperh10200
  4. \margl120
  5. \margr120
  6. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ul0\fs28 nu -A passwd user login accounts\
  7. \
  8. Q: The "nu" command with the -A option doesn't create the right user accounts.  For example, the following line executed from a shell:\
  9. \
  10.  nu -A user1 "Mr. User 1" 20 21 /Users/user1 /bin/csh psswd N N .\
  11.   \
  12. results in the following user account:\
  13. \
  14.  user1:<encrypted text>:20:21:Mr. User 1:psswd:/Users/user1. \
  15. \
  16. A:  nu -A is the expert version of the nu -a command.  With these options, nu adds new accounts; with the -A option, nu takes its input from the command line, rather than from stdin.  According to the man page for nu, the arguments to nu -A are:\
  17. \
  18.     nu -A name realname uid gid home shell pwd reuse mh domain\
  19.  \
  20. This is an error in the documentation.  The order of the arguments should be:\
  21. \
  22.     nu -A name realname uid gid shell pwd home reuse mh domain\
  23. \
  24. This problem has been fixed in 2.0.\
  25. \
  26. QA329\
  27. \
  28. Valid for 1.0 \
  29.  
  30. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520 Not valid for 
  31. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520 2.0 \
  32. \
  33.  
  34.