Menu

Where do I add an admin user to phpVirtualBox? File -> Preferences -> Users is absent, but he user looks to be admin.

Help
2017-04-01
2017-04-01
  • Valerii Vainkop

    Valerii Vainkop - 2017-04-01

    Hi everyone! :)

    I manage my VirtualBox 5 server with phpVirtualBox.

    I have 1 admin(?) user there, with name different from "admin".

    I need to add another one. How do I do that, except for on the phpVirtualBox page itself?

    The problem is, that File -> Preferences -> Users menu is absent :( so I'm really not sure the user IS admin
    https://sourceforge.net/p/phpvirtualbox/wiki/Authentication%20in%20phpVirtualBox/#configuring-users

    It's all running on a CentOS 6 host, so is there a config file or smth which I can edit & add an admin user there?

    Looks like we have multiple server configuration enabled, as I can switch between several servers.

    And there is no recovery.php-disabled file on one of the servers at least, so I can't rename it to recovery.php to reset admin password :(

    UPDATE: on one of the hosts I found "recovery.php-disabled" file, but when I renamed it to recovery.php and went to http://servername/phpvirtualbox/recovery.php I saw the Admin Account Recovery page, but when I click on "Recover" I get an exception :(
    Any ideas?

    Exception Object
    (
        [message:protected] => Could not connect to host (http://localhost:18083/)
        [string:Exception:private] => 
        [code:protected] => 64
        [file:protected] => /var/www/html/phpvirtualbox-5.0-5/endpoints/lib/vboxconnector.php
        [line:protected] => 220
        [trace:Exception:private] => Array
            (
                [0] => Array
                    (
                        [file] => /var/www/html/phpvirtualbox-5.0-5/recovery.php
                        [line] => 39
                        [function] => connect
                        [class] => vboxconnector
                        [type] => ->
                        [args] => Array
                            (
                            )
    
                    )
    
            )
    
        [previous:Exception:private] => 
    )
    

    Thanks!

    Best regards,
    Val

     

    Last edit: Valerii Vainkop 2017-04-01

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.