Galera é o seguinte, quero configurar meu server ftp da seguinte forma
criar usuario : publicacao
vai ter permissão para acessar e alterar qualquer conteudo de : /usr/local/apache/htdocs/publicacao
Uma coisa q nao ficou claro, um usuario do sistema é um usuario no FTP tambem??
eu acesso meu ftp com meu user e a minha senha más alem dele ter acesso ao /home/fpereira ele tem acessos a todas as pastas.. nao quero isso
com o user publicacao ele apenas pode manipular informacoes dentro da pasta especificada : (/usr/local/apache/htdocs/publicacao)
pra ajudar segue meu proftpd.conf
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.
ServerName "ProFTPD - Instalação Default"
ServerType standalone
DefaultServer on
DeferWelcome on
ServerAdmin web@vivax.net.br
SyslogFacility AUTH
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances 5
# Set the user and group under which the server will run.
User nobody
Group nobody
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~
<Directory /*>
AllowOverwrite no
</Directory>
# Normally, we want files to be overwriteable.
AllowOverwrite on
# Bar use of SITE CHMOD by default
<Limit SITE_CHMOD>
DenyAll
</Limit>
Desktop Linux ganha fôlego enquanto distros refinam experiência e segurança
Wayland em alta, IA em debate e novos ventos para distros e devices
Qt 6.10 e Python 3.14 puxam o ritmo do software livre nesta quarta
Atualizações de Apps, Desktop e Kernel agitam o ecossistema Linux nesta terça-feira
Como mudar o nome de dispositivos Bluetooth via linha de comando
Adicionando o repositório backports no Debian 13 Trixie