Answer the question
In order to leave comments, you need to log in
S/FTP/S security and root group?
Greetings,
The task was to make an s / ftp / s server so that the user has access to one place with the same rights for all three protocols.
Given: ubuntu14, sshd+proftpd
user -G ftpaccess -shell /bin/false
part of sshd:
PermitRootLogin no
Match group ftpaccess
ChrootDirectory %h
DefaultRoot ~
User proftpd
Group nogroup
Include /etc/proftpd/tls.conf
# Include mod_exec.c
[email protected]:/home/testuser# ls -l /home/
drwxr-x--- 5 root ftpaccess 4096 Nov 11 14:48 testuser
[email protected]:/home/testuser# ls -l /home/testuser/
drwxr-xr-x 2 testuser ftpaccess 4096 Oct 23 13:02 IN
drwxr-xr-x 2 testuser ftpaccess 4096 Oct 20 15:47 OUT
drwxr-xr-x 2 testuser ftpaccess 4096 Oct 20 15:38 TMP
Answer the question
In order to leave comments, you need to log in
www.linux.org.ru/forum/admin/8054334 this problem was discussed here, read it, maybe something will help
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question