.\" This is -*-nroff-*- .\" XXX standard disclaimer belongs here.... .\" $Header: /usr/local/cvsroot/pgsql/src/man/destroyuser.1,v 1.7 1998/03/06 18:03:35 momjian Exp $ .\" Translated by Mitsuhiro Maeda (mitsu@cni.co.jp) .TH DESTROYUSER UNIX 11/05/95 日本語PostgreSQL 日本語PostgreSQL .SH 名称 .\" destroyuser - destroy a Postgres user and associated databases destroyuser - Postgresのユーザと関連したデータベースを削除します .SH 形式 .BR destroyuser [\c .BR -a system] [\c .BR -h host] [\c .BR -p port] [username] .SH 説明 .PP .\" .IR Destroyuser .\" destroys an existing Postgres user and the databases for which that user .\" is database administrator. .IR destroyuser は既存の Postgres のユーザと そのユーザが管理者となっているデータベースを削除します。 .\" Only users with \*(lqusesuper\*(rq set in .\" the \*(lqpg_shadow\*(rq class can destroy new Postgres users. \*(lqpg_shadow\*(rq クラスで \*(lqusesuper\*(rq がセットされているユーザのみが Postgres のユーザを削除することができます。 .\" As shipped, .\" the user \*(lqpostgres\*(rq can destroy users. 配布された状態では、 ユーザ \*(lqpostgres\*(rq がユーザを削除することができます。 .PP .\" .IR Destroyuser .\" is a shell script that invokes .\" .IR psql . .IR destroyuser は .IR psql を呼び出すシェルスクリプトです。 .\" Hence, a .\" .IR postmaster .\" process must be running on the database server host before .\" .IR destroyuser .\" is executed. ですから、 .IR destroyuser を実行する前に .IR postmaster プロセスがデータベースサーバのホストで走っていなくてはなりません。 .\" In addition, the .\" .SM PGOPTION .\" and .\" .SM PGREALM .\" environment variables will be passed on to .\" .IR psql .\" and processed as described in .\" .IR psql (1). 加えて、環境変数 .SM PGOPTION と .SM PGREALM が .IR psql に渡され、 .IR psql (1) で説明されるように扱われます。 .PP .\" The optional argument .\" .IR username .\" specifies the name of the Postgres user to be destroyed. オプション引数の .IR username は削除される Postgres のユーザの名前を指定します。 .\" (The invoker will .\" be prompted for a name if none is specified on the command line.) (コマンドライン上で何も指定されなければ、 名前を指定するプロンプトが表示されます。) .PP .\" .IR Destroyuser .\" understands the following command-line options: .IR destroyuser は次のコマンドラインオプションを取ることができます: .TP 5n .BR "-a" " system" .\" Specifies an authentication system .\" .IR "system" .\" (see .\" .IR pgintro (1)) .\" to use in connecting to the .\" .IR postmaster .\" process. .IR postmaster プロセスとの接続に使う認証システム .IR system を指定します。 ( .IR pgintro (1) を参照してください) .\" This option no longer has any effect. このオプションはもう何の効果もありません。 .TP .BR "-h" " host" .\" Specifies the hostname of the machine on which the .\" .IR postmaster .\" is running. .IR postmaster が走っているマシンのホスト名を指定します。 .\" Defaults to using local Unix domain sockets. デフォルトではローカルの Unix ドメインソケットを使います。 .TP .BR "-p" " port" .\" Specifies the TCP/IP port or local Unix domain socket file extension .\" on which the .\" .IR postmaster .\" is listening for connections. .IR postmaster が接続を待っている TCP/IP ポートまたは ローカルの Unix ドメインソケットのファイル拡張子を指定します。 .\" Defaults to 5432, or the value of the .\" .SM PGPORT .\" environment variable (if set). デフォルトでは 5432 、 あるいは(セットされていれば)環境変数 .SM PGPORT の値となります。 .\" .SH "INTERACTIVE QUESTIONS" .SH "対話的質問" .PP .\" Once invoked with the above options, .\" .IR destroyuser .\" will warn you about the databases that will be destroyed in the .\" process and permit you to abort the removal of the user if desired. 上記のオプションをつけて呼び出されると、 .IR destroyuser はそのプロセスで削除されるデータベースについて警告して、 もし望むならその削除を中止することができます。 .SH 参照 createuser(1), psql(1), postmaster(1). .\" .SH DIAGNOSTICS .SH 診断 .TP 5n .BI "Error: Failed to connect to backend (host=" "xxx" ", port=" "xxx" ")" .\" .IR Destroyuser .\" could not attach to the .\" .IR postmaster .\" process on the specified host and port. .IR destroyuser は指定されたホストとポートで .IR postmaster プロセスに接続することができませんでした。 .\" If you see this message, .\" ensure that the .\" .IR postmaster .\" is running on the proper host and that you have specified the proper .\" port. もしこのメッセージを見たら、 .IR postmaster が適切なホストと指定した適切なポートで走っているかどうか確認してください。 .\" If your site uses an authentication system, ensure that you .\" have obtained the required authentication credentials. もしサイトが認証システムを使っているなら、 必要な認証証明書を手に入れたかどうか確認してください。 .TP .BI "user \*(lq" "username" "\*(rq is not in \*(lqpg_shadow\*(rq" .\" You do not have a valid entry in the relation \*(lqpg_shadow\*(rq and .\" cannot do anything with Postgres at all; \*(lqpg_shadow\*(rq に有効なエントリがありませんので、 Postgres では何もできません。 .\" contact your Postgres site .\" administrator. Postgres のサイト管理者に連絡を取ってください。 .TP .IB "username" " cannot delete users." .\" You do not have permission to delete users; ユーザを削除する権限が与えられていません。 .\" contact your Postgres site .\" administrator. Postgres のサイト管理者に連絡を取ってください。 .TP .BI "user \*(lq" "username" "\*(rq does not exist" .\" The user to be removed does not have an entry in the \*(lqpg_shadow\*(rq .\" class. 削除されるユーザは \*(lqpg_shadow\*(rq クラスにエントリがありません。 .TP .BR "database access failed" .TP .BI "destroydb on" " dbname" " failed - exiting" .TP .BI "delete of user" " username" " was UNSUCCESSFUL" .\" An internal error occurred in .\" .IR psql .\" or the backend server. .IR psql もしくはバックエンドサーバの内部エラーが起こりました。 .\" Contact your Postgres site administrator to .\" ensure that the files and database entries associated with the user .\" and his/her associated databases are completely removed. Postgres のサイト管理者に連絡をして、 そのユーザに関連するデータベースのエントリとファイル、 それから関連したデータベースが完全に削除されたかどうか確認してください。