File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 9
9
#
10
10
#
11
11
# IDENTIFICATION
12
- # $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createuser,v 1.19 2001/08/26 03:46:58 momjian Exp $
12
+ # $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createuser,v 1.20 2001/08/26 04:19:46 momjian Exp $
13
13
#
14
14
# Note - this should NOT be setuid.
15
15
#
104
104
--sysid=* )
105
105
SysID=` echo " $1 " | sed ' s/^--sysid=//' `
106
106
;;
107
- --encrypted)
107
+ --encrypted|-E )
108
108
Encrypted=t
109
109
;;
110
- --unencrypted)
110
+ --unencrypted|-N )
111
111
Encrypted=f
112
112
;;
113
113
-i* )
@@ -141,6 +141,8 @@ if [ "$usage" ]; then
141
141
echo " -A, --no-adduser User cannot add new users"
142
142
echo " -i, --sysid=SYSID Select sysid for new user"
143
143
echo " -P, --pwprompt Assign a password to new user"
144
+ echo " -E, --encrypted Encrypt stored password"
145
+ echo " -N, --unencrypted Do no encrypt stored password"
144
146
echo " -h, --host=HOSTNAME Database server host"
145
147
echo " -p, --port=PORT Database server port"
146
148
echo " -U, --username=USERNAME Username to connect as (not the one to create)"
You can’t perform that action at this time.
0 commit comments