home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume8 / mcp / part01 / help / add-user.n < prev    next >
Encoding:
Text File  |  1987-02-05  |  2.5 KB  |  65 lines

  1. .ce
  2. .ul
  3. add-user [ name ]
  4. .sp
  5. .ul
  6. add-user
  7. allows you to create a new account.  There are several stages to this
  8. process.  If the optional
  9. .ul
  10. name
  11. is supplied, mcp will use this as the user's login name, otherwise mcp will
  12. create a login name from the user's real name using these steps:
  13. .nf
  14. .sp
  15. .in +2
  16. Trim real name of titles (e.g. Dr., Prof.)
  17. Trim real name of suffixes (e.g. Jr., III)
  18. Case-lower the entire real name.
  19. If last name is not taken as a login name and it's less
  20.     than eight characters in length, use it.
  21. If real name has three initials, concatenate them.
  22. If this is unused as a login, use it.
  23. Truncate the last name to no more than 5 characters.
  24. Append a '_'.
  25. Append the first character of the first name.
  26. If the result of the last two operations is already used
  27.     as a login, increment the last character by one
  28.     until a unique login is found.
  29. .in -2
  30. .sp
  31. .fi
  32. Mcp will then announce the result of all this to you.
  33. .sp
  34. Mcp will ask you (mostly) obvious questions about  this  new
  35. account  until  it  has  enough  information  to  create it.
  36. Default responses, if any, appear in brackets "[]".
  37. .sp
  38. When mcp prompts you with "Id: " it expects  a  string  that
  39. would uniquely identify the owner of the account anywhere on
  40. the planet.  Generally this would be a person's Social Security
  41. Number.  The reason for requesting such identification
  42. information is that mcp will use it to notify you if  you're
  43. about  to create an account for a user that already has one.
  44. You can specify "exception" here  if  you  don't  have  such
  45. information;  this  is useful for non-human accounts such as
  46. "ftp", and "uucp".
  47. .sp
  48. There is also more than one way to answer mcp's request for a password to
  49. use.  You can specify "none" and the user won't have a password.  Specify
  50. "unused" and the user will have asterisk placed in the password field of his
  51. line in /etc/passwd.  This guarantees that this account has no valid
  52. password and thus no one can log into this account and only the super-user
  53. can su to it (since su doesn't ask the super-user for passwords).  This is
  54. useful for non-human accounts such as "daemon" and "news".  If you specify
  55. "generate", mcp will generate a good (and utterly random) password for the
  56. user and tell you what it is.  Other than these special cases what you type
  57. is what the password will be.  Be aware that mcp silently disallows control
  58. characters and colons.
  59. .sp
  60. Remember, at any stage in the
  61. .ul
  62. add-user
  63. process you can just hit the interrupt key and the command will
  64. be aborted with no change.
  65.