* [Sysadmins] pure-ftpd vs vsftpd&proftpd
@ 2008-12-28 11:30 Алексей Синицын
2008-12-28 17:41 ` Alexey Shabalin
0 siblings, 1 reply; 3+ messages in thread
From: Алексей Синицын @ 2008-12-28 11:30 UTC (permalink / raw)
To: shaba, ALT Linux sysadmin discuss
27 декабря 2008 г. 12:59 пользователь Алексей Синицын
> 27 декабря 2008 г. 0:04 пользователь Alexey Shabalin
>>> Но заводить мусорных пользователей в системе как-то неохота.
>>> Следовательно имеет смысл сделать виртуальных.
>> Попробуйте pure-ftpd.
>>
> Спасибо, попробую.
>
Читаю о настройке, в описании сказано:
Let's create an "ftpgroup" group and an "ftpuser" user.
Linux/OpenBSD/NetBSD/Solaris/HPUX/a lot of other Unix-like systems:
groupadd ftpgroup
useradd -g ftpgroup -d /dev/null -s /etc ftpuser
Шелл - /etc, домашний каталог - /dev/null: это не опечатка? Возможно
нужно -s /dev/null и -d /var/ftp ?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Sysadmins] pure-ftpd vs vsftpd&proftpd
2008-12-28 11:30 [Sysadmins] pure-ftpd vs vsftpd&proftpd Алексей Синицын
@ 2008-12-28 17:41 ` Alexey Shabalin
2008-12-28 19:08 ` Алексей Синицын
0 siblings, 1 reply; 3+ messages in thread
From: Alexey Shabalin @ 2008-12-28 17:41 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
28 декабря 2008 г. 14:30 пользователь Алексей Синицын написал:
> 27 декабря 2008 г. 12:59 пользователь Алексей Синицын
>
>> 27 декабря 2008 г. 0:04 пользователь Alexey Shabalin
>
>>>> Но заводить мусорных пользователей в системе как-то неохота.
>>>> Следовательно имеет смысл сделать виртуальных.
>>> Попробуйте pure-ftpd.
>>>
>
>> Спасибо, попробую.
>>
>
> Читаю о настройке, в описании сказано:
>
> Let's create an "ftpgroup" group and an "ftpuser" user.
>
> Linux/OpenBSD/NetBSD/Solaris/HPUX/a lot of other Unix-like systems:
>
> groupadd ftpgroup
> useradd -g ftpgroup -d /dev/null -s /etc ftpuser
>
> Шелл - /etc, домашний каталог - /dev/null: это не опечатка? Возможно
> нужно -s /dev/null и -d /var/ftp ?
нет ли какого readme.altlinux? или свяжитесь с мантейнером - он лучше подскажет.
И что-то мне подсказывает, что нужный пользователь создаётся при
установке пакета.
А может этот пользователь и вообще не нужен - надо задействовать уже
существующие.
--
Alexey Shabalin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Sysadmins] pure-ftpd vs vsftpd&proftpd
2008-12-28 17:41 ` Alexey Shabalin
@ 2008-12-28 19:08 ` Алексей Синицын
0 siblings, 0 replies; 3+ messages in thread
From: Алексей Синицын @ 2008-12-28 19:08 UTC (permalink / raw)
To: shaba, ALT Linux sysadmin discuss
28 декабря 2008 г. 20:41 пользователь Alexey Shabalin
>> useradd -g ftpgroup -d /dev/null -s /etc ftpuser
>>
>> Шелл - /etc, домашний каталог - /dev/null: это не опечатка? Возможно
>> нужно -s /dev/null и -d /var/ftp ?
>
> нет ли какого readme.altlinux? или свяжитесь с мантейнером - он лучше подскажет.
> И что-то мне подсказывает, что нужный пользователь создаётся при
> установке пакета.
> А может этот пользователь и вообще не нужен - надо задействовать уже
> существующие.
>
Readme.altlinux не оказалось и при установке ничего лишнего не
создаётся, но 'google:Pure-FTPd useradd' тут-же привёл коррекный
пример, где шелл - /sbin/nologin
К этому ftp даже нашлась web морда:
http://machiel.generaal.net/index.php?subject=user_manager_pureftpd
Но она у меня, к счастью, без дополнительных усилий отчего-то не
заработала (потому-что использовать mysql для масштабов полутора
пользователей - как-то действительно не так). А по описанию всё
действительно заработало за несколько минут, нужно только было не
упускать детали, но необходимое всё приведено было.
Про безопасность - отзывы вроде встречаются хорошие.
Спасибо.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-12-28 19:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-28 11:30 [Sysadmins] pure-ftpd vs vsftpd&proftpd Алексей Синицын
2008-12-28 17:41 ` Alexey Shabalin
2008-12-28 19:08 ` Алексей Синицын
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