.\" This is -*-nroff-*- .\" XXX standard disclaimer belongs here.... .\" $Header: /usr/local/cvsroot/pgsql/src/man/alter_user.l,v 1.2 1998/03/06 18:02:49 momjian Exp $ .\" .\" Japanese Version Copyright (c) 1998 Michihide Hotta .\" all rights reserved. .\" Translated Wed Jun 3 18:46:34 JST 1998 .\" by Michihide Hotta .\" .TH "ALTER USER" SQL 01/26/98 PostgreSQL PostgreSQL .\"0 .SH NAME .\"0 alter user -- .\"0 alter user account information within a PostgreSQL instance .SH 名前 alter user -- PostgreSQL インスタンスにおけるユーザアカウント情報 を変更する .\"0 .SH SYNOPSIS .\"0 .nf .\"0 \fBalter user\fR username .\"0 [\fBwith password\fR password] .\"0 [\fBcreatedb\fR | \fBnocreatedb\fR] .\"0 [\fBcreateuser\fR | \fBnocreateuser\fR] .\"0 [\fBin group\fR group-1, ..., group-n] .\"0 [\fBvalid until '\fRabstime\fB'\fR] .\"0 .fi .SH 書式 .nf \fBalter user\fR ユーザ名 [\fBwith password\fR パスワード] [\fBcreatedb\fR | \fBnocreatedb\fR] [\fBcreateuser\fR | \fBnocreateuser\fR] [\fBin group\fR グループ1, ..., グループn] [\fBvalid until '\fRabstime\fB'\fR] .fi .\"0 .SH DESCRIPTION .\"0 .BR "alter user" .\"0 is used to change the attributes of a user's PostgreSQL account. .\"0 For a detailed description of each of the clause in the alter .\"0 user statement, please see the create_user(l) manual page. .\"0 Please note that it is not possible to alter a user's usesysid .\"0 via the alter user statement. Also, it is only possible for .\"0 the postgres user or any user with read and modify permissions .\"0 on pg_shadow to alter user passwords. .SH 説明 .BR "alter user" は、ユーザの PostgreSQL アカウントの属性を変更するのに使われる。 alter user ステートメントにおける各オプションの詳細については、 create_user(l) マニュアルページを参照してほしい。alter user ステートメントでは、ユーザの usesysid を変更することはできない ので注意すること。また、postgres のユーザや、pg_shadow で 読んだり変更したりできる権限のあるユーザでは、ユーザの パスワードを変更することしかできない。 .\"0 If any of the clauses of the alter user statement are omitted, .\"0 the corresponding value in the pg_shadow relation is left .\"0 unchanged. alter user ステートメントにおける各オプションのいずれかが省略 された場合は、pg_shadow リレーションにおいて対応する値は変更 されない。 .\"0 This statement can be used to modify users created with .\"0 createuser(1). このステートメントは、createuser(1) で作られたユーザ情報を 変更するのに使うことができる。 .\"0 .SH EXAMPLES .\"0 .nf .\"0 --- .\"0 --- Change a user password .\"0 --- .\"0 alter user tab with password hu8jmn3; .\"0 .fi .\"0 .nf .\"0 --- .\"0 --- Change a user's valid until date .\"0 --- .\"0 alter user tab valid until 'Jan 31 2030'; .\"0 .fi .\"0 .nf .\"0 --- .\"0 --- Give a user the ability to create other users. .\"0 --- .\"0 alter user tab createuser; .\"0 .fi .SH 例 .nf --- --- ユーザのパスワードを変更する --- alter user tab with password hu8jmn3; .fi .nf --- --- ユーザの有効期限日を変更する --- alter user tab valid until 'Jan 31 2030'; .fi .nf --- --- ユーザに、他のユーザを作る権限を与える --- alter user tab createuser; .fi .\"0 .SH "SEE ALSO" .SH "関連項目" create_user(l), drop_user(l). .SH 翻訳者 堀田 倫英