"On cherche la ligne AllowUsers et on ajoute backup-manager"
Perso j'ai ça nulle part dans /etc/ssh/sshd_config :
#GSSAPIAuthentication no
#GSSAPICleanupCredentials yes
X11Forwarding yes
X11DisplayOffset 10
PrintMotd no
PrintLastLog yes
TCPKeepAlive yes
#UseLogin no
#MaxStartups 10:30:60
#Banner /etc/issue.net
# Allow client to pass locale environment variables
AcceptEnv LANG LC_*
Subsystem sftp internal-sftp
# Set this to 'yes' to enable PAM authentication, account processing,
# and session processing. If this is enabled, PAM authentication will
# be allowed through the ChallengeResponseAuthentication and
# PasswordAuthentication. Depending on your PAM configuration,
# PAM authentication via ChallengeResponseAuthentication may bypass
# the setting of "PermitRootLogin without-password".
# If you just want the PAM account and session checks to run without
# PAM authentication, then enable this but set PasswordAuthentication
# and ChallengeResponseAuthentication to 'no'.
#UsePAM yes
Match User johnito
ChrootDirectory /home/johnito
Sinon, à corriger peut-être :
export BM_UPLOAD_DESTINATION="/home/archive/uploads"
Tu voulais plutôt dire (je pense) :
export BM_UPLOAD_DESTINATION="/home/archives/uploads"
Quand je teste à la fin sinon, j'ai un message d'erreur :
The "mysql" method is chosen, but is not found.
Post-command failed.
En tout cas,
SUPERBE tuto !!! Ca fait plaisir du taf comme ça !