Changes

From SME Server
Jump to navigationJump to search
552 bytes added ,  00:09, 14 December 2013
Line 68: Line 68:  
Default configuration database which allows only the admin user of SME Server to manage phpvirtualbox
 
Default configuration database which allows only the admin user of SME Server to manage phpvirtualbox
   −
  [root@sme8dev ~]# config show phpvirtualbox
+
  # config show phpvirtualbox  
 
  phpvirtualbox=service
 
  phpvirtualbox=service
 
     Group=
 
     Group=
Line 74: Line 74:  
     User=admin
 
     User=admin
 
     status=enabled
 
     status=enabled
 +
    webauth=disabled
 +
====Web authentication====
   −
====Allow Specific Users====
+
you can allow web authentication to phpvirtualbox by doing
 +
 
 +
config setprop phpvirtualbox webauth enabled
 +
expand-template /etc/httpd/conf/httpd.conf
 +
 
 +
and you have to modify manually the file config.php
 +
 
 +
nano /opt/phpvirtualbox/config.php
 +
 
 +
// Authentication library.
 +
var $authLib = 'Builtin';
 +
#var $authLib = 'WebAuth';
 +
#var $authConfig = array('adminUser' => 'admin');
 +
 
 +
to
 +
 +
// Authentication library.
 +
#var $authLib = 'Builtin';
 +
var $authLib = 'WebAuth';
 +
var $authConfig = array('adminUser' => 'admin');
 +
 
 +
 
 +
=====Allow Specific Users=====
 
The users must be declared  and a password must be set in the server-manager.
 
The users must be declared  and a password must be set in the server-manager.
   Line 81: Line 105:  
  expand-template /etc/httpd/conf/httpd.conf
 
  expand-template /etc/httpd/conf/httpd.conf
   −
====Allow Specific Groups====
+
=====Allow Specific Groups=====
 
These groups must be declared in the server-manager and users need to be included
 
These groups must be declared in the server-manager and users need to be included
    
  config setprop phpvirtualbox Group "Group1 Group2 Group3"
 
  config setprop phpvirtualbox Group "Group1 Group2 Group3"
 
  expand-template /etc/httpd/conf/httpd.conf
 
  expand-template /etc/httpd/conf/httpd.conf
      
=== Uninstall ===
 
=== Uninstall ===

Navigation menu