Add new ftps user: Difference between revisions

From Apoyar Wiki
Jump to navigation Jump to search
(Add new ftps user)
 
No edit summary
Line 1: Line 1:
Login (SSH) to the server in question and run the 2 commands:
3CX alloting Country Codes:
 
'''useradd -m -d /var/www/ -G www-data -s /bin/bash username'''
 
'''passwd username'''


Where:
Where:


* /var/www/ is the folder you want the user to have access to. Don't give him more permissions than needed! Sometimes they only need an import folder or so.
* When a 3CX User request or notifies about not able to Dial a specific Country.
* www-data is the '''group''' nginx (or apache) is running under. This is necessary for the user to be able to upload files.
* Go to 3CX Admin Console ---> Settings--->and Select Security in the options.
* /bin/bash is the default login shell. It won't work without this.
* Under Allowed Country Codes we will have List of Continents with a drop down.
* username is the desired username
* Select the Respective Continent and then Check the box Beside The Country.
* with the passwd command you set the password

Revision as of 13:54, 21 November 2017

3CX alloting Country Codes:

Where:

  • When a 3CX User request or notifies about not able to Dial a specific Country.
  • Go to 3CX Admin Console ---> Settings--->and Select Security in the options.
  • Under Allowed Country Codes we will have List of Continents with a drop down.
  • Select the Respective Continent and then Check the box Beside The Country.