![]() |
Показаны 13 сообщений на этой странице |
Форум сетевых администраторов (http://netadmin.ws/forum/index.php)
- Остальные (http://netadmin.ws/forum/forumdisplay.php?forumid=22)
-- NcFTPd (http://netadmin.ws/forum/showthread.php?threadid=5114)
NcFTPd
Стоит на машине сабж
собственно что нужно
1. есть клиенты которым нужно дать доступ только к одной папке (не больше)
ткните как это реализовать сенкс
Ты операционную систему хоть назови...
__________________
Администратор Бед в Данных...
Если есть возможность инсталить, советую pureftpd - оч быстрый и секюрный демон. Поддерживает кучу фичь цнрут кфоты етц. Он для твоей задачи подходит как раз.
Да знаю я
) что лучше PureFTP но какой стоит....извиняйте
ЗЫ: freebsd OS $))
Честно говоря не совсем понятно, что тебе нужно
Любой юзер, если он авторизуется, то попадает в свою и только свою папку 
а мне не нужен чтоб у человека был Shell мне нужно только чтоб у него был доступ только на фтп !
Так прошел никто ничего и не говорит, создаешь юзера (adduser), приписываешь его к определенной директории, шелл ему не даешь, ибо на фиг не надо, ну а ncftpd можешь к примеру сказать, чтобы он брал пароли из master-passwd. После авторизации человек попадет в свою папку 
.....
только при этом создаешь ему папку bin с програмками типа ls и папку lib с некоторыми библиотеками. Все эти папки принадлежат руту и имеют доступ для чтения и выполнения
Всё что он сможет сделать, так это пользовать стадартные команды фтп сервера, но выше своей папки он по-любому не поднимется...
quote:
Первоначальное сообщение от devels
.....
только при этом создаешь ему папку bin с програмками типа ls и папку lib с некоторыми библиотеками. Все эти папки принадлежат руту и имеют доступ для чтения и выполнения
заходишь на любой ftp-шник и смотришь что в бине, что в либе.... больше чем там есть и не требуется...
__________________
Чайник, мечтающий стать самоваром!
Читайте маны и источники
quote:
Preparing the Anonymous FTP Area
Create the anonymous FTP hierarchy. Most of the time you will just use the home directory for the ftp user, but you do not have to use that directory. No matter what directory you choose, we will denote the anonymous FTP hierarchy as ~ftp.
The ~ftp directory should not be owned by ftp, but by root and have mode 755 (drwxr-xr-x). Any subdirectories you don't want people removing should not be owned by the ftp user.
That is usually all that NcFTPd requires of the ~ftp hierarchy. Other FTP servers require a ~ftp/bin/ls and a ~ftp/etc/passwd, libraries, etctera, but NcFTPd does not need those.
Copy files and directories you want accessible to the outside world into the anonymous FTP hierarchy. Avoid using symbolic links because the server does a chroot to the ~ftp directory, and if a link points outside of the anonymous tree the link will be invalid.
Configuration File Options
To enable anonymous user logins, you need to have NcFTPd configured so that the domain.cf option server-type is set to all-users (if you want both anonymous and non-anonymous users) or anonymous-only. Like all domain.cf options, this should be set appropriately for each domain in the domain.cf file.
Another domain.cf option that can be set is ftp-home. The default directory tree that is used when a user logs in anonymously is the ftp user's home directory, but if you have multiple domains in your domain.cf file you can use this option to have each domain have a different anonymous FTP root, rather than sharing the same directory tree for all domains.
The general.cf option a-write-permission option specifies whether anonymous users can create, modify, or delete files in the anonymous FTP area. If this option is enabled, then users will be denied no matter what the permissions on the files and directories are (with one exception, mentioned next). By default, this option is set to no for security reasons, because generally it is a system administration error if anonymous users can make modifications.
Ну вот и я про тоже
'but NcFTPd does not need those'
| Формат времени GMT. Текущее время 05:10. | Показаны 13 сообщений на этой странице |
Powered by: vBulletin Version 2.2.4
Copyright © Jelsoft Enterprises Limited 2000, 2001.