Merge branch 'develop' into rename-file
Conflicts: fileConfig.php
This commit is contained in:
commit
8311bb3fbe
23
README-FTP-USE
Normal file
23
README-FTP-USE
Normal file
@ -0,0 +1,23 @@
|
||||
Définition des dossiers
|
||||
=======================
|
||||
send : Client => SD
|
||||
recv : SD => Client
|
||||
|
||||
Création d'un utilisateur
|
||||
=========================
|
||||
pure-pw useradd [user] -u ftpuser -j -d [dir]
|
||||
|
||||
Modifier le mot de passe
|
||||
========================
|
||||
pure-pw passwd [user]
|
||||
|
||||
Modifier un utilisateur
|
||||
=======================
|
||||
pure-pw usermod [user] -d [newdir]
|
||||
|
||||
Supprimer un utilisateur
|
||||
========================
|
||||
pure-pw userdel [user]
|
||||
|
||||
|
||||
Note : Après chaque modification : pure-pw mkdb
|
17
README-SFTP-USE
Normal file
17
README-SFTP-USE
Normal file
@ -0,0 +1,17 @@
|
||||
Définition des dossiers
|
||||
=======================
|
||||
send : Client => SD
|
||||
recv : SD => Client
|
||||
|
||||
Création d'un utilisateur
|
||||
=========================
|
||||
|
||||
useradd -s /bin/false -g sftp -d /home/data/sftp/username username
|
||||
passwd username
|
||||
|
||||
Création du HOME
|
||||
================
|
||||
mkdir -p /home/data/sftp/username/{recv,send}
|
||||
chown username:sftp -R /home/data/sftp/username
|
||||
chmod -Rv 755 /home/data/sftp/username/
|
||||
chown root:root /home/data/sftp/username
|
0
application/configs/README
Normal file
0
application/configs/README
Normal file
36
config.php
36
config.php
@ -125,4 +125,40 @@ return array(
|
||||
),
|
||||
),
|
||||
),
|
||||
'fboissons' => array(
|
||||
'prestations' => array(
|
||||
array(
|
||||
'name' => 'SCOREETDECISION',
|
||||
'type' => 'FTP',
|
||||
'in' => array(
|
||||
'Route' => array( 'cp' => '/home/data/clients-ftp/fboissons/send' ),
|
||||
'CopyDeleteAfter' => true,
|
||||
),
|
||||
'out' => array(),
|
||||
),
|
||||
),
|
||||
),
|
||||
'effico' => array(
|
||||
'prestations' => array(
|
||||
array(
|
||||
'name' => 'DIFBODPRDSFTPEFFICO',
|
||||
'type' => 'SFTP',
|
||||
'in' => array(),
|
||||
'out' => array(),
|
||||
),
|
||||
),
|
||||
),
|
||||
'sofid' => array(
|
||||
'prestations' => array(
|
||||
array(
|
||||
'name' => 'SURBODPRDFTSSOFID',
|
||||
'type' => 'FTP',
|
||||
'in' => array(
|
||||
'Route' => array( 'cp' => '/home/data/clients-ftp/sofid/send' ),
|
||||
'CopyDeleteAfter' => true,
|
||||
),
|
||||
'out' => array(),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user