AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / Administrador WEBDEV  / Administrador WEBDEV para Linux / 2. Crear cuentas de usuario
  • 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
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
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 2025 sites by FTP).
This User account allows the site manager to:
  • use the WEBDEV remote administrator to manage dynamic WEBDEV sites installed on the server.
  • perform remote setups and updates of dynamic WEBDEV websites (by HTTP or FTP).
Remark: A specific user account (login and password defined when setup of application server WEBDEV) allows the server administrator to use the WEBDEV administrator remotely.. In this case, the server administrator can monitor and configure all the dynamic WEBDEV websites 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: WEBDEV site security management is reinforced: sites (and site deployment) run under the identity of the site owner defined in the remote WEBDEV administrator.. The sites cannot interact. Installing a WEBDEV site does not require any specific rights in addition to the standard rights allocated to each user.
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 <Nom Utilisateur>

    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 installation 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
Note: The webdevadmin group must have read/write rights to the ftp, site and user data directories only, to enable 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://<Adresse IP Serveur>/WDAdminWeb
After logging in as administrator (login ADMIN, 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, etc.
  • 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 websites of account. The site manager can then redistribute his connections according to his WEBDEV sites, using the remote WEBDEV administrator.
  • FTP transfer directory: The FTP transfer directory corresponds to the user's home directory.. This directory was created in Creating the users and their directories
  • site home directory: The site home directory is the directory where the user's WEBDEV sites will be installed.. This directory was created in Creating the users and their directories.
  • the database directory for data files: The database directory is where the data files associated with the user's site will be installed.. This directory was created in Creating the users and their directories.
Versión mínima requerida
  • Versión 28
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 19/09/2024

Señalar un error o enviar una sugerencia | Ayuda local