From: Timur Batyrshin <batyrshin@ieml.ru>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] Как в ftp открыть только 1 каталог?
Date: Wed, 25 Jun 2008 21:12:54 +0400
Message-ID: <20080625211254.7d47c127@batyrshin.ieml.ru> (raw)
In-Reply-To: <86c9dbe50806250841s49b35ca7j7a8b5095c88c0730@mail.gmail.com>
On Wed, 25 Jun 2008 19:41:01 +0400
Сергей Дунин wrote:
> Здравствуйте!
> OC - altlinux-release-office-server-20080609-alt0.M40.1
> Задача в ftp сделать доступным для чтения пользователю guest только
> каталог /var/ftp/public .
> У меня пользователь может ходить по всему дереву и копировать все что
> угодно.
> Пользователя создал и каталог ему определил /var/ftp/public
> Vsftpd.conf
> anonymous_enable=NO
> local_enable=YES
> write_enable=YES
> dirmessage_enable=YES
> xferlog_enable=YES
> connect_from_port_20=YES
> xferlog_file=/var/log/vsftpd.log
> xferlog_std_format=YES
> user_config_dir=/etc/vsftpd/user_conf
> В каталоге user_conf
> Пользователи sergey и guest.
> Sergey _C write_enable=YES
> Guset - write_enable=NO
chroot_local_user=YES
Только с SFTP это почему-то не работает..
next parent reply other threads:[~2008-06-25 17:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-25 17:12 ` Timur Batyrshin [this message]
2008-06-25 18:04 ` Mykola S. Grechukh
2008-06-26 6:12 ` Timur Batyrshin
2008-07-24 10:53 ` [Sysadmins] Как настроить сервер времени? Віталій Харченко
2008-07-24 11:04 ` Dmitriy Kruglikov
2008-07-24 16:18 ` Motsyo Gennadi aka Drool
2008-07-25 6:05 ` Dmitriy Kruglikov
2008-06-25 18:23 ` [Sysadmins] Как в ftp открыть только 1 каталог? Alexey Morsov
2008-06-26 6:37 ` Andrew Avramenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080625211254.7d47c127@batyrshin.ieml.ru \
--to=batyrshin@ieml.ru \
--cc=sysadmins@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git