* [Comm] Как добавить user-ов в ftp server (vsftpd)
@ 2007-01-28 17:01 Vasiliy
2007-01-29 12:18 ` Alexandr Ogurtsov
0 siblings, 1 reply; 4+ messages in thread
From: Vasiliy @ 2007-01-28 17:01 UTC (permalink / raw)
To: community
[-- Attachment #1: Type: text/plain, Size: 503 bytes --]
А с какого IP разрешено коннектиться в /etc/xinet.d/vsftpd ?
С любого адреса 0.0.0.0 . Пользователи зарегестрированные в системе
Могут конектится и удалённо и локально.
А которых создаваёш подобным образом с данной деректорией useradd -g
users -d /var/ftp/pab -s /bin/false username
passwd username
useradd -g users -d /var/ftp/pab -s /bin/null username
passwd username
Их не пускает.
Кстати как правильно добавлять пользователя без оболочки первым
способом с /bin/falseили вторым /bin/null
[-- Attachment #2: [Comm] [Fwd: Re: Как добавить user-ов в ftp server (vsftpd)] --]
[-- Type: message/rfc822, Size: 8055 bytes --]
[-- Attachment #2.1.1: Type: text/plain, Size: 439 bytes --]
С любого адреса 0.0.0.0 . Пользователи зарегестрированные в системе
Могут конектится и удалённо и локально.
А которых создаваёш подобным образом с данной деректорией useradd -g users -d /var/ftp/pab -s /bin/false username
passwd username
useradd -g users -d /var/ftp/pab -s /bin/null username
passwd username
Их не пускает.
Кстати как правильно добавлять пользователя без оболочки первым способом с /bin/falseили вторым /bin/null
[-- Attachment #2.1.2: Re: [Comm] Как добавить user-ов в ftp server (vsftpd) --]
[-- Type: message/rfc822, Size: 4182 bytes --]
[-- Attachment #2.1.2.1.1.1: Type: text/plain, Size: 269 bytes --]
Vasiliy <altdistrib@mail.ru> wrote:
> Здравствуйте!
> У меня на ftp могут зайти только локальные пользователи. А хотелось бы
> что бы пользователи FTP ни какого отношения к самой системе не имели.
А с какого IP разрешено коннектиться в /etc/xinet.d/vsftpd ?
[-- Attachment #2.1.2.1.1.2: Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2.1.2.1.2: Type: text/plain, Size: 153 bytes --]
_______________________________________________
Community mailing list
Community@lists.altlinux.org
https://lists.altlinux.org/mailman/listinfo/community
[-- Attachment #2.1.3: Type: text/plain, Size: 153 bytes --]
_______________________________________________
Community mailing list
Community@lists.altlinux.org
https://lists.altlinux.org/mailman/listinfo/community
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Comm] Как добавить user-ов в ftp server (vsftpd)
2007-01-28 17:01 [Comm] Как добавить user-ов в ftp server (vsftpd) Vasiliy
@ 2007-01-29 12:18 ` Alexandr Ogurtsov
2007-01-29 13:02 ` Vitaly Ostanin
0 siblings, 1 reply; 4+ messages in thread
From: Alexandr Ogurtsov @ 2007-01-29 12:18 UTC (permalink / raw)
To: ALT Linux Community
В сообщении от Воскресенье 28 Январь 2007 19:01 Vasiliy написал(a):
> /bin/false
Добавить /bin/false в /etc/shells
--
My best wishes
Alexandr Ogurtsov
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Comm] Как добавить user-ов в ftp server (vsftpd)
2007-01-29 12:18 ` Alexandr Ogurtsov
@ 2007-01-29 13:02 ` Vitaly Ostanin
2007-01-29 13:58 ` Alexandr Ogurtsov
0 siblings, 1 reply; 4+ messages in thread
From: Vitaly Ostanin @ 2007-01-29 13:02 UTC (permalink / raw)
To: ALT Linux Community
[-- Attachment #1: Type: text/plain, Size: 315 bytes --]
Alexandr Ogurtsov wrote:
> В сообщении от Воскресенье 28 Январь 2007 19:01 Vasiliy написал(a):
>> /bin/false
> Добавить /bin/false в /etc/shells
Прям вот так системно? Может, лучше настройки pam для сервиса
поменять?
/etc/pam.d/vsftpd
--
Regards, Vyt
mailto: vyt@vzljot.ru
JID: vyt@vzljot.ru
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Comm] Как добавить user-ов в ftp server (vsftpd)
2007-01-29 13:02 ` Vitaly Ostanin
@ 2007-01-29 13:58 ` Alexandr Ogurtsov
0 siblings, 0 replies; 4+ messages in thread
From: Alexandr Ogurtsov @ 2007-01-29 13:58 UTC (permalink / raw)
To: ALT Linux Community
> Прям вот так системно? Может, лучше настройки pam для сервиса
> поменять?
> /etc/pam.d/vsftpd
Пан таки мае рацию :)
--
My best wishes
Alexandr Ogurtsov
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-01-29 13:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-28 17:01 [Comm] Как добавить user-ов в ftp server (vsftpd) Vasiliy
2007-01-29 12:18 ` Alexandr Ogurtsov
2007-01-29 13:02 ` Vitaly Ostanin
2007-01-29 13:58 ` Alexandr Ogurtsov
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git