1
1
<!--
2
- $PostgreSQL: pgsql/doc/src/sgml/ref/createuser.sgml,v 1.54 2010/02/19 14:36:45 momjian Exp $
2
+ $PostgreSQL: pgsql/doc/src/sgml/ref/createuser.sgml,v 1.55 2010/03/22 14:56:09 momjian Exp $
3
3
PostgreSQL documentation
4
4
-->
5
5
@@ -78,22 +78,12 @@ PostgreSQL documentation
78
78
</varlistentry>
79
79
80
80
<varlistentry>
81
- <term><option>-s</></term>
82
- <term><option>--superuser</></term>
83
- <listitem>
84
- <para>
85
- The new user will be a superuser.
86
- </para>
87
- </listitem>
88
- </varlistentry>
89
-
90
- <varlistentry>
91
- <term><option>-S</></term>
92
- <term><option>--no-superuser</></term>
81
+ <term><option>-c <replaceable class="parameter">number</replaceable></></term>
82
+ <term><option>--connection-limit <replaceable class="parameter">number</replaceable></></term>
93
83
<listitem>
94
84
<para>
95
- The new user will not be a superuser .
96
- This is the default .
85
+ Set a maximum number of connections for the new user .
86
+ The default is to set no limit .
97
87
</para>
98
88
</listitem>
99
89
</varlistentry>
@@ -120,81 +110,81 @@ PostgreSQL documentation
120
110
</varlistentry>
121
111
122
112
<varlistentry>
123
- <term><option>-r </></term>
124
- <term><option>--createrole </></term>
113
+ <term><option>-e </></term>
114
+ <term><option>--echo </></term>
125
115
<listitem>
126
116
<para>
127
- The new user will be allowed to create new roles ( that is,
128
- this user will have <literal>CREATEROLE</> privilege) .
117
+ Echo the commands that <application>createuser</application> generates
118
+ and sends to the server .
129
119
</para>
130
120
</listitem>
131
121
</varlistentry>
132
122
133
123
<varlistentry>
134
- <term><option>-R </></term>
135
- <term><option>--no-createrole </></term>
124
+ <term><option>-E </></term>
125
+ <term><option>--encrypted </></term>
136
126
<listitem>
137
127
<para>
138
- The new user will not be allowed to create new roles.
139
- This is the default.
128
+ Encrypts the user's password stored in the database. If not
129
+ specified, the default password behavior is used .
140
130
</para>
141
131
</listitem>
142
132
</varlistentry>
143
133
144
134
<varlistentry>
145
- <term><option>-l </></term>
146
- <term><option>--login </></term>
135
+ <term><option>-i </></term>
136
+ <term><option>--inherit </></term>
147
137
<listitem>
148
138
<para>
149
- The new user will be allowed to log in (that is, the user name
150
- can be used as the initial session user identifier) .
139
+ The new role will automatically inherit privileges of roles
140
+ it is a member of .
151
141
This is the default.
152
142
</para>
153
143
</listitem>
154
144
</varlistentry>
155
145
156
146
<varlistentry>
157
- <term><option>-L </></term>
158
- <term><option>--no-login </></term>
147
+ <term><option>-I </></term>
148
+ <term><option>--no-inherit </></term>
159
149
<listitem>
160
150
<para>
161
- The new user will not be allowed to log in.
162
- (A role without login privilege is still useful as a means of
163
- managing database permissions.)
151
+ The new role will not automatically inherit privileges of roles
152
+ it is a member of.
164
153
</para>
165
154
</listitem>
166
155
</varlistentry>
167
156
168
157
<varlistentry>
169
- <term><option>-i </></term>
170
- <term><option>--inherit </></term>
158
+ <term><option>-l </></term>
159
+ <term><option>--login </></term>
171
160
<listitem>
172
161
<para>
173
- The new role will automatically inherit privileges of roles
174
- it is a member of .
162
+ The new user will be allowed to log in (that is, the user name
163
+ can be used as the initial session user identifier) .
175
164
This is the default.
176
165
</para>
177
166
</listitem>
178
167
</varlistentry>
179
168
180
169
<varlistentry>
181
- <term><option>-I </></term>
182
- <term><option>--no-inherit </></term>
170
+ <term><option>-L </></term>
171
+ <term><option>--no-login </></term>
183
172
<listitem>
184
173
<para>
185
- The new role will not automatically inherit privileges of roles
186
- it is a member of.
174
+ The new user will not be allowed to log in.
175
+ (A role without login privilege is still useful as a means of
176
+ managing database permissions.)
187
177
</para>
188
178
</listitem>
189
179
</varlistentry>
190
180
191
181
<varlistentry>
192
- <term><option>-c <replaceable class="parameter">number</replaceable> </></term>
193
- <term><option>--connection-limit <replaceable class="parameter">number</replaceable> </></term>
182
+ <term><option>-N </></term>
183
+ <term><option>--unencrypted </></term>
194
184
<listitem>
195
185
<para>
196
- Set a maximum number of connections for the new user.
197
- The default is to set no limit .
186
+ Does not encrypt the user's password stored in the database. If
187
+ not specified, the default password behavior is used .
198
188
</para>
199
189
</listitem>
200
190
</varlistentry>
@@ -212,34 +202,44 @@ PostgreSQL documentation
212
202
</varlistentry>
213
203
214
204
<varlistentry>
215
- <term><option>-E </></term>
216
- <term><option>--encrypted </></term>
205
+ <term><option>-r </></term>
206
+ <term><option>--createrole </></term>
217
207
<listitem>
218
208
<para>
219
- Encrypts the user's password stored in the database. If not
220
- specified, the default password behavior is used .
209
+ The new user will be allowed to create new roles (that is,
210
+ this user will have <literal>CREATEROLE</> privilege) .
221
211
</para>
222
212
</listitem>
223
213
</varlistentry>
224
214
225
215
<varlistentry>
226
- <term><option>-N </></term>
227
- <term><option>--unencrypted </></term>
216
+ <term><option>-R </></term>
217
+ <term><option>--no-createrole </></term>
228
218
<listitem>
229
219
<para>
230
- Does not encrypt the user's password stored in the database. If
231
- not specified, the default password behavior is used .
220
+ The new user will not be allowed to create new roles.
221
+ This is the default.
232
222
</para>
233
223
</listitem>
234
224
</varlistentry>
235
225
236
226
<varlistentry>
237
- <term><option>-e </></term>
238
- <term><option>--echo </></term>
227
+ <term><option>-s </></term>
228
+ <term><option>--superuser </></term>
239
229
<listitem>
240
230
<para>
241
- Echo the commands that <application>createuser</application> generates
242
- and sends to the server.
231
+ The new user will be a superuser.
232
+ </para>
233
+ </listitem>
234
+ </varlistentry>
235
+
236
+ <varlistentry>
237
+ <term><option>-S</></term>
238
+ <term><option>--no-superuser</></term>
239
+ <listitem>
240
+ <para>
241
+ The new user will not be a superuser.
242
+ This is the default.
243
243
</para>
244
244
</listitem>
245
245
</varlistentry>
0 commit comments