ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] pam + proftpd
@ 2003-06-05  7:05 Dmitry A. Legkikh
  0 siblings, 0 replies; only message in thread
From: Dmitry A. Legkikh @ 2003-06-05  7:05 UTC (permalink / raw)
  To: community

Приветствую!

Как разрешить вход по фтп только перечисленным логинам?

Я изменил в pam.d/ftp строку с listfile'ом вот так:

auth required /lib/security/pam_listfile.so item=user sense=allow
 file=/etc/ftpusers onerr=fail

Попробовал, вроде получилось.
А недавно смотрю в логах, народ ломиться по фтп не обращая на
листфайл никакого внимания.

xxx pam_tcb[29111]: ftp: Authentication passed for vampir from (uid=0)
xxx proftpd[29111]: PAM-listfile: Refused user vampir for service ftp
xxx proftpd[29111]: marshall.okclub.org (192.168.0.2[192.168.0.2])
 - USER vampir: Login successful.
                ^^^^^^^^^^^^^^^^^

И закачивает, негодяй, файлы...

-- 
Best regards,
 Dmitry



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-06-05  7:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-05  7:05 [Comm] pam + proftpd Dmitry A. Legkikh

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