home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / postgres / postgre2.z / postgre2 / ref / unix / createuser < prev    next >
Encoding:
Text File  |  1992-08-27  |  1.5 KB  |  61 lines

  1. .\" XXX standard disclaimer belongs here....
  2. .\" $Header: /private/postgres/ref/unix/RCS/createuser,v 1.7 1992/07/14 05:54:17 ptong Exp $
  3. .SP CREATEUSER UNIX 6/14/90
  4. .XA 1 Createuser
  5. .uh NAME
  6. .lp
  7. createuser \*- create a \*(PP user
  8. .uh SYNOPSIS
  9. .lp
  10. .(l
  11. \fBcreateuser\fR [\fB-p\fR port] [\fB-h\fR host] username
  12. .)l
  13. .uh DESCRIPTION
  14. .lp
  15. .b Createuser
  16. creates a new \*(PP user.
  17. Only users with ``usesuper'' set in the pg_user class can create
  18. new \*(PP users.  As shipped, the user ``postgres'' can create users.
  19. .sp
  20. .i Username
  21. is the name of the \*(PP user to be created.
  22. The name must be unique
  23. among all \*(PP users.
  24. .sp
  25. The arguments 
  26. .i port
  27. and
  28. .i hostname
  29. are the same as in the terminal monitor - they are used to connect to the
  30. postmaster using the TCP/IP port
  31. .i port
  32. running on the database server
  33. .i hostname.
  34. The defaults are to the local machine (localhost) and to the default port
  35. (4321).
  36. .uh "INTERACTIVE QUESTIONS"
  37. .lp
  38. Once invoked with the above options
  39. .b createuser
  40. will guide the person adding the new \*(PP user through a series of questions.
  41. These questions describe the security capabilities of the \*(PP user.
  42. The new user's \*(PP userid must be the user's Unix userid.
  43. .uh "SEE ALSO"
  44. .lp
  45. destroyuser(unix).
  46. .uh DIAGNOSTICS
  47. .lp
  48. \fBYou are not a valid POSTGRES user\fR
  49. .lp
  50. You do not have a users file entry, and can
  51. not do anything with \*(PP at all.
  52. .sp
  53. .lp
  54. \fI<user>\fR \fBalready exists\fR
  55. .lp
  56. The user already exists.
  57. .uh BUGS
  58. .lp
  59. \*(PP userid's and usernames should not have anything to do with the
  60. constraints of UNIX.
  61.