[icinga-checkins] icinga.org: icinga-doc/master: docs issue #2690: limit grant to icinga db

git at icinga.org git at icinga.org
Fri Jun 15 19:11:57 CEST 2012


Module: icinga-doc
Branch: master
Commit: 619a08ca1178144b8a3a5caafff32a2d3918edab
URL:    https://git.icinga.org/?p=icinga-doc.git;a=commit;h=619a08ca1178144b8a3a5caafff32a2d3918edab

Author: Wolfgang <wnd at gmx.net>
Date:   Fri Jun 15 19:08:55 2012 +0200

docs issue #2690: limit grant to icinga db

---

 de/quickstart-idoutils-freebsd.xml |    2 +-
 de/quickstart-idoutils.xml         |    4 ++--
 en/quickstart-idoutils-freebsd.xml |    2 +-
 en/quickstart-idoutils.xml         |    4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/de/quickstart-idoutils-freebsd.xml b/de/quickstart-idoutils-freebsd.xml
index 98b55b2..03ac866 100644
--- a/de/quickstart-idoutils-freebsd.xml
+++ b/de/quickstart-idoutils-freebsd.xml
@@ -339,7 +339,7 @@
 
  mysql> CREATE DATABASE icinga;
 
- GRANT USAGE ON *.* TO 'icinga'@'localhost'
+ GRANT USAGE ON icinga.* TO 'icinga'@'localhost'
    IDENTIFIED BY 'icinga'
    WITH MAX_QUERIES_PER_HOUR 0
    MAX_CONNECTIONS_PER_HOUR 0
diff --git a/de/quickstart-idoutils.xml b/de/quickstart-idoutils.xml
index 300171b..ffdd348 100644
--- a/de/quickstart-idoutils.xml
+++ b/de/quickstart-idoutils.xml
@@ -530,13 +530,13 @@
   
  mysql> CREATE DATABASE icinga;
   
- GRANT USAGE ON *.* TO 'icinga'@'localhost' 
+ GRANT USAGE ON icinga.* TO 'icinga'@'localhost' 
    IDENTIFIED BY 'icinga'
    WITH MAX_QUERIES_PER_HOUR 0
    MAX_CONNECTIONS_PER_HOUR 0
    MAX_UPDATES_PER_HOUR 0;
    
- GRANT SELECT , INSERT , UPDATE , DELETE, DROP, CREATE VIEW
+ GRANT SELECT, INSERT, UPDATE, DELETE, DROP, CREATE VIEW, INDEX
    ON icinga.* TO 'icinga'@'localhost';
  
  FLUSH PRIVILEGES ;
diff --git a/en/quickstart-idoutils-freebsd.xml b/en/quickstart-idoutils-freebsd.xml
index a0f28ce..3278d8e 100644
--- a/en/quickstart-idoutils-freebsd.xml
+++ b/en/quickstart-idoutils-freebsd.xml
@@ -323,7 +323,7 @@
 
  mysql> CREATE DATABASE icinga;
 
- GRANT USAGE ON *.* TO 'icinga'@'localhost' IDENTIFIED BY 'icinga' 
+ GRANT USAGE ON icinga.* TO 'icinga'@'localhost' IDENTIFIED BY 'icinga' 
    WITH MAX_QUERIES_PER_HOUR 0
    MAX_CONNECTIONS_PER_HOUR 0
    MAX_UPDATES_PER_HOUR 0;
diff --git a/en/quickstart-idoutils.xml b/en/quickstart-idoutils.xml
index 812c723..0f810aa 100644
--- a/en/quickstart-idoutils.xml
+++ b/en/quickstart-idoutils.xml
@@ -524,12 +524,12 @@
 
       <programlisting> #> mysql -u root -p
  mysql> CREATE DATABASE icinga;
- GRANT USAGE ON *.* TO 'icinga'@'localhost'
+ GRANT USAGE ON icinga.* TO 'icinga'@'localhost'
    IDENTIFIED BY 'icinga'
    WITH MAX_QUERIES_PER_HOUR 0
    MAX_CONNECTIONS_PER_HOUR 0
    MAX_UPDATES_PER_HOUR 0;
- GRANT SELECT , INSERT , UPDATE , DELETE, DROP, CREATE VIEW
+ GRANT SELECT , INSERT , UPDATE , DELETE, DROP, CREATE VIEW, INDEX
    ON icinga.* TO 'icinga'@'localhost';
  FLUSH PRIVILEGES;
  quit</programlisting>





More information about the icinga-checkins mailing list