Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
9f6aacd9
Commit
9f6aacd9
authored
Jun 21, 2007
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update password example.
parent
8ddb046b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
doc/src/sgml/ref/createuser.sgml
doc/src/sgml/ref/createuser.sgml
+7
-5
No files found.
doc/src/sgml/ref/createuser.sgml
View file @
9f6aacd9
<!--
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/createuser.sgml,v 1.
49 2007/06/21 10:43:09
petere Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/createuser.sgml,v 1.
50 2007/06/21 12:20:10
petere Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -378,12 +378,14 @@ PostgreSQL documentation
...
@@ -378,12 +378,14 @@ PostgreSQL documentation
<prompt>$ </prompt><userinput>createuser -P -s -e joe</userinput>
<prompt>$ </prompt><userinput>createuser -P -s -e joe</userinput>
<computeroutput>Enter password for new role: </computeroutput><userinput>xyzzy</userinput>
<computeroutput>Enter password for new role: </computeroutput><userinput>xyzzy</userinput>
<computeroutput>Enter it again: </computeroutput><userinput>xyzzy</userinput>
<computeroutput>Enter it again: </computeroutput><userinput>xyzzy</userinput>
<computeroutput>CREATE ROLE joe PASSWORD '
xyzzy
' SUPERUSER CREATEDB CREATEROLE INHERIT LOGIN;</computeroutput>
<computeroutput>CREATE ROLE joe PASSWORD '
md5b5f5ba1a423792b526f799ae4eb3d59e
' SUPERUSER CREATEDB CREATEROLE INHERIT LOGIN;</computeroutput>
</screen>
</screen>
In the above example, the new password isn't actually echoed when typed,
In the above example, the new password isn't actually echoed when typed,
but we show what was typed for clarity. However the password
but we show what was typed for clarity. As you see, the password is
<emphasis>will</> appear in the echoed command, as illustrated —
encrypted before it is sent to the client. If the option <option>--unencrypted</option>
so you don't want to use <literal>-e</> when assigning a password, if
is used, the password <emphasis>will</> appear in the echoed command
(and possibly also in the server log and elsewhere),
so you don't want to use <option>-e</> in that case, if
anyone else can see your screen.
anyone else can see your screen.
</para>
</para>
</refsect1>
</refsect1>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment