Documentation

Granting Webroot Access (VM)

Granting Webroot Acess

This section assumes that you have already setup the downloadable VM from https://hubzero.org/download and can login to the VM as root.

Creating an account

First, let's create an account.  Find the "register" link on the home page of your VM and complete the registration form and instructions there. The URL will probably be similar to http://192.168.xxx.xxx/register.

Administrator Tasks

Next, let's promote the new user to a Super User.

  1. Log into the /administrator interface of the hub. The URL will probably be similar to     http://192.168.xxx.xxx/administrator.  Login using the credentials for the JOOMLA-ADMIN (username 'admin') from the hubzero.secrets file. 
  2. Read the hubzero.secrets file via the VM terminal as root - "cat /etc/hubzero.secrets".  Sorry no copy-and-paste in that terminal. CTRL - ALT returns the cursor from the VM terminal.
  3. From the top menu, go to Users->User Manager (click). 
  4. Find your new user in the list and click on the name.
  5. Scroll to the bottom of the page and check the box next to "Super Users".
  6. At the top of the page, click on the Star ( Save & Close).

Your new account now has the ability to log into /administrator with full access.

 

Add the 'web' host to your new account for web dev access

  1. From the main menu go to Users -> Members (click)
  2. Find your new user in the list and click on the name.
  3. Click on the "Hosts" tab.
  4. Enter "Web" into the box and then click "add Host".  You should see the new host listed appear below the entry box.
  5. At the top of the page, click on the Star ( Save & Close).

Adding the new user to the "www-data" group

From the VM terminal as root enter the following command replacing [username] with the username of the new user.

"usermod -G www-data [username]"

 

The new user now has read and write access to the web root for developing web components via ssh, sftp, and direct database access if using the correct database credentials.

Last modified:

  • Copyright © 2022 Hubzero
  • Powered by Hubzero®