Skip to content
Command Line Interface

client.sh

This script allows you to create a new client account, update the client information or remove a client account.

Usage

bash
client.sh <command> <login_name> <options>

To see all available parameters, you can run:

bash
client.sh --help

Examples

In these examples, you are logged in as root and you call the scripts by their directory.

Add New Client

bash
client.sh --create newclient \
  --company "Client Company" \
  --name "Client Name" \
  --passwd "123qwe" \
  --phone "021.21.223.23" \
  --fax "021.21.223.23" \
  --email "newclient@example.com" \
  --addr "This is the client address" \
  --city "Some City" \
  --pcode "111111" \
  --country "Fr"  \
  --timezone "Europe/Paris"

Once the account is created, the CLI will display the following message: 'Account successfully created'

Update Client Information

bash
client.sh --update newclient \
  --company "Client Company" \
  --name "Client Name" \
  --passwd "123qwe" \
  --phone "021.21.223.23" \
  --fax "021.21.223.23" \
  --email "newclient@example.com" \
  --addr "This is the client address" \
  --city "Some City" \
  --pcode "111111" \
  --country "Fr"   \
  --timezone "Europe/Paris"

Once the changes are applied, the CLI will display the following message: 'Client settings updated'.

Last updated: Dec 10, 2025