diff options
author | ramon <ramongomez@us.es> | 2013-03-12 12:26:21 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2013-03-12 12:26:21 +0000 |
commit | 9d380eca62c8d61916facb45c0bdaa8e49a14538 (patch) | |
tree | 6354525e86ec34f2d6ac8fd018b4cc129613eec4 /server/bin/listclientmode | |
parent | ddd91fb1f94ca5b515fa1a40384c84ffbeb69be0 (diff) |
#586: Ampliar seguridad al resto de scripts que acceden a MySQL.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3682 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'server/bin/listclientmode')
-rwxr-xr-x | server/bin/listclientmode | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/bin/listclientmode b/server/bin/listclientmode index 9b6866fd..da4404e0 100755 --- a/server/bin/listclientmode +++ b/server/bin/listclientmode @@ -39,7 +39,7 @@ EOT # Borrar el fichero temporal si termina el proceso. trap "rm -f $MYCNF" 0 1 2 3 6 9 15 # Obtener nombre de ordenador individual o todos los de una aula e indicar su plantilla asociada. -mysql --defaults-file=$MYCNF -D "$CATALOG" -s -N -e \ +mysql --defaults-extra-file=$MYCNF -D "$CATALOG" -s -N -e \ "SELECT nombreordenador, arranque FROM ordenadores JOIN aulas USING (idaula) WHERE aulas.nombreaula='$RESOURCE' |