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

  1. .\" XXX standard disclaimer belongs here....
  2. .\" $Header: /private/postgres/ref/unix/RCS/destroyuser,v 1.5 1992/07/14 05:54:17 ptong Exp $
  3. .SP DESTROYUSER UNIX 6/14/90
  4. .XA 1 Destroyuser
  5. .uh NAME
  6. .lp
  7. destroyuser \*- destroy a \*(PP user
  8. .uh SYNOPSIS
  9. .lp
  10. .(l
  11. \fBdestroyuser\fR [\fB-p\fR port] [\fB-h\fR host] username
  12. .)l
  13. .uh DESCRIPTION
  14. .lp
  15. .b Destroyuser
  16. destroys an existing \*(PP user.
  17. Only users with ``usesuper'' set in the pg_user class can destroy
  18. \*(PP users.  As shipped, the user ``postgres'' can destroy users.
  19. .sp
  20. .i Username
  21. is the name of the \*(PP user
  22. to be destroyed.
  23. .sp
  24. The argument 
  25. .i port
  26. and
  27. .i hostname
  28. are the same as in the terminal monitor - they are used to connect to the
  29. postmaster using the TCP/IP port
  30. .i port
  31. running on the database server
  32. .i hostname.
  33. The defaults are to the local machine (localhost) and to the default port
  34. (4321).
  35. .uh "INTERACTIVE QUESTIONS"
  36. .lp
  37. Once invoked with the above options
  38. .b destroyuser
  39. will warn the person destroying the \*(PP user about the databases that will
  40. be destroyed in the process.  If the databases should not be destroyed, 
  41. .b destroyuser
  42. can be aborted.
  43. .uh "SEE ALSO"
  44. .lp
  45. createuser(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 \fBdoes not exist\fR
  55. .lp
  56. The user does not exist.
  57.