X-Git-Url: http://git.onelab.eu/?p=nodeconfig.git;a=blobdiff_plain;f=PlanetLabConf%2Fkeys.php;fp=PlanetLabConf%2Fkeys.php;h=6eab92dfe3cf6013ff83141dbbecdcb162085c95;hp=c46c30769822697ee53391187cf0664e5f1a60e2;hb=5632c42d3c1771de410dc5c775d12f83c3da9eac;hpb=4af0cdd9014c72c946a29df3c42e0a9ef5a656dc diff --git a/PlanetLabConf/keys.php b/PlanetLabConf/keys.php index c46c307..6eab92d 100755 --- a/PlanetLabConf/keys.php +++ b/PlanetLabConf/keys.php @@ -62,8 +62,13 @@ if (isset($_REQUEST['site_admin']) && isset($_REQUEST['node_id'])) { } } -if (isset($_REQUEST['root'])) - $keys[] = array('key' => file_get_contents(PLC_ROOT_SSH_KEY_PUB)); +// Thierry on July 20 2015 +// this has ceased to work ages ago with php5, as /etc/planetlab is not +// allowed to php - which is right +// exposing only admin's public keys is quite enough +// which will be a relief for /var/log/php.log where this message is all over the place +// if (isset($_REQUEST['root'])) +// $keys[] = array('key' => file_get_contents(PLC_ROOT_SSH_KEY_PUB)); if (!empty($persons)) {