ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WEBDEV administrator / WEBDEV administrator for Linux / 2. Creating user accounts
  • Overview
  • Configuring the users and their rights on the Linux server
  • Creating an FTP account on Linux (only necessary when installing sites via FTP)
  • Creating the users and their directories
  • Creating User accounts
  • How to start the remote administrator
  • Characteristics of a User account
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Overview
A User account allows the server administrator to:
  • group the dynamic sites that belong to a site manager. These dynamic sites are installed on a single Web server.
  • configure the maximum number of connections allowed for all the dynamic sites of the site manager.
  • configure the setup directories of the dynamic sites on the Web server.
  • configure the directory for file transfer (for the remote setups and updates of dynamic WEBDEV 2024 sites by FTP).
This User account allows the site manager to:
  • use the remote WEBDEV administrator to manage his dynamic WEBDEV sites installed on the server.
  • perform remote setups and updates of dynamic WEBDEV sites (by HTTP or FTP).
Remark: A specific User account (login and password defined during the installation of the WEBDEV Application Server) allows the server administrator to use the remote WEBDEV administrator. In this case, the server administrator can monitor and configure all the dynamic WEBDEV sites installed on the Web server. The remote WEBDEV administrator can no longer be used if this account is deleted.
WEBDEV accounts are created in the remote administrator but they require a specific configuration of users and user rights on the Linux server.
Note: The security management of WEBDEV sites has been improved: sites (as well as the site deployment) are run under the identity of the site owner defined in the remote administrator. The sites cannot interact. No specific rights other than the standard rights granted to each user are required to install a WEBDEV site.
Configuring the users and their rights on the Linux server
The Linux server must be configured before the first WEBDEV user account is created in the remote administrator.

Creating an FTP account on Linux (only necessary when installing sites via FTP)

In most cases, a Unix user account can have an FTP account.
The base directory of this system account corresponds to the FTP download directory. This base directory corresponds to the directory where the files required to install the site will be transferred when installing a site via FTP. The setup is automatically performed once the files have been transferred.

Creating the users and their directories

To manage the users on the server:
  1. Create a new user via the following command line:
    adduser <User Name>

    All necessary directories (including the FTP account) are created.
  2. In the directory of this user, create three different directories:
    • a directory for deploying the sites,
    • a directory for the data,
    • a directory for transferring the WEBDEV data.
    You can for example use the following syntax:
    mkdir app
    mkdir data
    mkdir ftp_webdev
  3. These directories should be assigned to the administrator group (webdevadmin group by default). The following syntax can be used:
    chgrp webdevadmin app
    chgrp webdevadmin data
    chgrp webdevadmin ftp_webdev
  4. Display the list of rights for the setup directory via the following command line:
    s -l

    The rights are displayed in the following format:
    drwxr-xr-x 2 root webdevadmin 4096 Mar 1 08:25 data
    drwxr-xr-x 2 root webdevadmin 4096 Mar 1 08:26 app
    drwxr-xr-x 2 root webdevadmin 4096 Mar 1 08:27 ftp_webdev

    Read rights should be granted to the webdevadmin group. To do so, use the following command line:
    chmod g+rx app
    chmod g+rx data

    If you display the list of rights again, you get:
    drwxr-x - - - 2 root webdevadmin 4096 Mar 1 08:25 data
    drwxr-x - - - 2 root webdevadmin 4096 Mar 1 08:26 app
    drwxr-x - - - 2 root webdevadmin 4096 Mar 1 08:27 ftp_webdev
Remark: The webdevadmin group must have read/write rights in the ftp, site and user data directories in order to perform a site backup from the remote administrator. No backup will be performed if these rights are not granted.
Creating User accounts
User accounts are created by the remote administrator.

How to start the remote administrator

The remote administrator is an Internet site that can be started from any computer equipped with a browser. To start the remote administrator, use the following address:
http://<Server IP address>/WD290AWP/WD290AWP/connect/WDAdminWeb290
After logging in as administrator (ADMIN username, password: admin), you can create WEBDEV accounts.

Characteristics of a User account

A User account must have the following characteristics:
  • Username,
  • Password and confirmation.
The name of the User account MUST correspond to the name of the associated Unix account.
Once this information is specified, simply enter the characteristics of the account:
  • the user details:
    Last name, first name, address, ...
  • the sites assigned to the site manager (if necessary)
  • the maximum number of authorized connections:
    Maximum number of simultaneous connections allowed for all dynamic WEBDEV sites of account. The site manager can then distribute his connections among his WEBDEV sites via the remote WEBDEV administrator.
  • the directory for FTP transfer: The directory for FTP transfer corresponds to user's base directory. This directory was created in Creating the users and their directories
  • the base directory of the sites: The base directory of the sites corresponds to the directory where the user's WEBDEV sites will be installed. This directory was created in Creating the users and their directories.
  • the base directory of the data files: The base directory of the data files corresponds to the directory where the data files associated with the user's site will be installed. This directory was created in Creating the users and their directories.
Minimum version required
  • Version 28
Comments
Click [Add] to post a comment

Last update: 07/21/2023

Send a report | Local help