Форум сетевых администраторов
Показаны 13 сообщений на этой странице

Форум сетевых администраторов (http://netadmin.ws/forum/index.php)
- Остальные (http://netadmin.ws/forum/forumdisplay.php?forumid=22)
-- NcFTPd (http://netadmin.ws/forum/showthread.php?threadid=5114)


Помещено Net_andy 15-04-2003 в 10:11:

NcFTPd

Стоит на машине сабж
собственно что нужно
1. есть клиенты которым нужно дать доступ только к одной папке (не больше)
ткните как это реализовать сенкс


Помещено Quetzalcoatl 15-04-2003 в 13:37:

Ты операционную систему хоть назови...

__________________
Администратор Бед в Данных...


Помещено kit400 15-04-2003 в 14:52:

Если есть возможность инсталить, советую pureftpd - оч быстрый и секюрный демон. Поддерживает кучу фичь цнрут кфоты етц. Он для твоей задачи подходит как раз.


Помещено Net_andy 16-04-2003 в 07:47:

Да знаю я ) что лучше PureFTP но какой стоит....извиняйте

ЗЫ: freebsd OS $))


Помещено Stdin 18-04-2003 в 15:52:

Честно говоря не совсем понятно, что тебе нужно Любой юзер, если он авторизуется, то попадает в свою и только свою папку


Помещено Net_andy 19-04-2003 в 03:39:

а мне не нужен чтоб у человека был Shell мне нужно только чтоб у него был доступ только на фтп !


Помещено Stdin 19-04-2003 в 08:13:

Так прошел никто ничего и не говорит, создаешь юзера (adduser), приписываешь его к определенной директории, шелл ему не даешь, ибо на фиг не надо, ну а ncftpd можешь к примеру сказать, чтобы он брал пароли из master-passwd. После авторизации человек попадет в свою папку


Помещено devels 23-04-2003 в 06:42:

.....
только при этом создаешь ему папку bin с програмками типа ls и папку lib с некоторыми библиотеками. Все эти папки принадлежат руту и имеют доступ для чтения и выполнения


Помещено Stdin 23-04-2003 в 14:57:

Всё что он сможет сделать, так это пользовать стадартные команды фтп сервера, но выше своей папки он по-любому не поднимется...


Помещено Net_andy 24-04-2003 в 01:58:

quote:
Первоначальное сообщение от devels
.....
только при этом создаешь ему папку bin с програмками типа ls и папку lib с некоторыми библиотеками. Все эти папки принадлежат руту и имеют доступ для чтения и выполнения


lib какие ?!?!?! поподробней


Помещено gryshadow 24-04-2003 в 08:41:

заходишь на любой ftp-шник и смотришь что в бине, что в либе.... больше чем там есть и не требуется...

__________________
Чайник, мечтающий стать самоваром!


Помещено devels 24-04-2003 в 08:49:

Читайте маны и источники

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.



http://www.ncftpd.com/ncftpd/doc/


Помещено Stdin 24-04-2003 в 13:21:

Ну вот и я про тоже
'but NcFTPd does not need those'


Формат времени GMT. Текущее время 05:18.
Показаны 13 сообщений на этой странице

Powered by: vBulletin Version 2.2.4
Copyright © Jelsoft Enterprises Limited 2000, 2001.