~ubuntu-branches/ubuntu/hardy/mysql-dfsg-5.0/hardy-updates

« back to all changes in this revision

Viewing changes to debian/patches/45_warn-CLI-passwords.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2007-04-02 16:10:53 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20070402161053-zkil9hjq9k5p1uzv
Tags: 5.0.37-0ubuntu1
* New upstream bugfix release.
  - Fixes replication failure with auto-increment and on duplicate key
    update, a regression introduced into 5.0.24. (LP: #95821)
* debian/control: Set Ubuntu maintainer.
* debian/rules: Change comments from 'Debian etch' to 'Ubuntu 7.04'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
 pid-file   = @localstatedir@3/hostname.pid3
94
94
 datadir    = @localstatedir@3
95
95
 language   = @datadir@/mysql/swedish
96
 
--- old/scripts/mysql_explain_log.sh.orig       2005-11-15 01:12:31.000000000 +0100
97
 
+++ new/scripts/mysql_explain_log.sh    2005-11-22 00:17:41.356081650 +0100
98
 
@@ -314,6 +314,9 @@
99
 
 --user=USERNAME     db-user
100
 
 -u=USERNAME
101
 
 --password=PASSWORD password of db-user
102
 
+                    WARNING: Providing a password on command line is
103
 
+                    insecure as it is visible through /proc to anyone
104
 
+                    for a short time.
105
 
 -p=PASSWORD
106
 
 --socket=SOCKET     mysqld socket file to connect
107
 
 -s=SOCKET
108
 
@@ -348,7 +351,7 @@
109
 
 
110
 
 =head1 USAGE
111
 
 
112
 
-mysql_explain_log [--date=YYMMDD] --host=dbhost] [--user=dbuser] [--password=dbpw] [--socket=/path/to/socket] < logfile
113
 
+mysql_explain_log [--date=YYMMDD] --host=dbhost] [--user=dbuser] [--password=dbpw (INSECURE)] [--socket=/path/to/socket] < logfile
114
 
 
115
 
 --date=YYMMDD       select only entrys of date
116
 
 
117
 
@@ -363,7 +366,8 @@
118
 
 -u=USERNAME
119
 
 
120
 
 --password=PASSWORD password of db-user
121
 
-
122
 
+                    WARNING: Providing a password on command line is insecure
123
 
+                    as it is visible through /proc to anyone for a short time.
124
 
 -p=PASSWORD
125
 
 
126
 
 --socket=SOCKET     change path to the socket
127
96
--- old/scripts/mysql_fix_privilege_tables.sh.orig      2005-11-15 01:12:47.000000000 +0100
128
97
+++ new/scripts/mysql_fix_privilege_tables.sh   2005-11-22 00:17:41.357081628 +0100
129
98
@@ -33,6 +33,10 @@
298
267
 .sp
299
268
 The password to use when connecting to the server. If you use the short option form (\fB\-p\fR), you
300
269
 \fIcannot\fR
 
270
--- old/scripts/mysql_explain_log.sh    2007-02-20 18:49:37.000000000 +0100
 
271
+++ new/scripts/mysql_explain_log.sh    2007-03-22 22:32:26.000000000 +0100
 
272
@@ -341,6 +341,9 @@
 
273
     The MySQL username to use when connecting to the server
 
274
 --password=PASSWORD, -p=PASSWORD
 
275
     The password to use when connecting to the server
 
276
+    WARNING: Providing a password on command line is
 
277
+    insecure as it is visible through /proc to anyone
 
278
+    for a short time.
 
279
 --socket=SOCKET, -s=SOCKET
 
280
     The socket file to use when connecting to the server
 
281
 --printerror=1, -e 1
 
282
@@ -379,7 +382,7 @@
 
283
 
 
284
 =head1 USAGE
 
285
 
 
286
-mysql_explain_log [--date=YYMMDD] --host=dbhost] [--user=dbuser] [--password=dbpw] [--socket=/path/to/socket] [--printerror=1] < logfile
 
287
+mysql_explain_log [--date=YYMMDD] --host=dbhost] [--user=dbuser] [--password=dbpw (INSECURE)] [--socket=/path/to/socket] [--printerror=1] < logfile
 
288
 
 
289
 --help, -h
 
290
     Display this help message
 
291
@@ -391,6 +394,8 @@
 
292
     The MySQL username to use when connecting to the server
 
293
 --password=PASSWORD, -p=PASSWORD
 
294
     The password to use when connecting to the server
 
295
+    WARNING: Providing a password on command line is insecure
 
296
+    as it is visible through /proc to anyone for a short time.
 
297
 --socket=SOCKET, -s=SOCKET
 
298
     The socket file to use when connecting to the server
 
299
 --printerror=1, -e 1