ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] ProFTPD и RequireValidShell off что-то не работает
@ 2009-08-20  8:25 Sergey
  2009-08-20  9:01 ` pustovit
  0 siblings, 1 reply; 3+ messages in thread
From: Sergey @ 2009-08-20  8:25 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

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

Наткнулся на проблему. Если указать пользователю какой-нибудь
/bin/false, при попытке зайти по ftp получается вот так:

proftpd: pam_tcb(proftpd:auth): Authentication passed for qwerty from (uid=0)
proftpd[14604]: hostname (1.2.3.4[1.2.3.4]) - USER qwerty (Login failed): Incorrect password.

RequireValidShell off, при этом, стоит в глобальной части конфига.
С каких-то пор стало надо что-то ещё где-то подкручивать ?

-- 
С уважением, Сергей
a_s_y@sama.ru


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Sysadmins] ProFTPD и RequireValidShell off что-то не работает
  2009-08-20  8:25 [Sysadmins] ProFTPD и RequireValidShell off что-то не работает Sergey
@ 2009-08-20  9:01 ` pustovit
  2009-08-20  9:57   ` Sergey
  0 siblings, 1 reply; 3+ messages in thread
From: pustovit @ 2009-08-20  9:01 UTC (permalink / raw)
  To: sysadmins

А если добавить /bin/false в /etc/shells ?

-----Original Message-----
From: sysadmins-bounces@lists.altlinux.org [mailto:sysadmins-bounces@lists.altlinux.org] On Behalf Of Sergey
Sent: Thursday, August 20, 2009 11:25 AM
To: ALT Linux sysadmin discuss
Subject: [Sysadmins] ProFTPD и RequireValidShell off что-то не работает

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

Наткнулся на проблему. Если указать пользователю какой-нибудь
/bin/false, при попытке зайти по ftp получается вот так:

proftpd: pam_tcb(proftpd:auth): Authentication passed for qwerty from (uid=0)
proftpd[14604]: hostname (1.2.3.4[1.2.3.4]) - USER qwerty (Login failed): Incorrect password.

RequireValidShell off, при этом, стоит в глобальной части конфига.
С каких-то пор стало надо что-то ещё где-то подкручивать ?




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Sysadmins] ProFTPD и RequireValidShell off что-то не работает
  2009-08-20  9:01 ` pustovit
@ 2009-08-20  9:57   ` Sergey
  0 siblings, 0 replies; 3+ messages in thread
From: Sergey @ 2009-08-20  9:57 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

On Thursday 20 August 2009, pustovit@romul.com.ua wrote:

> А если добавить /bin/false в /etc/shells ?

Вообще, интересная идея в качестве work arround. Спасибо, помогло,
можно было догадаться и самому. Только вот, как написано про
RequireValidShell:

The RequireValidShell directive configures the server, virtual host
or anonymous login to allow or deny logins which do not have a shell
binary listed in /etc/shells.

-- 
С уважением, Сергей
a_s_y@sama.ru


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-08-20  9:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-20  8:25 [Sysadmins] ProFTPD и RequireValidShell off что-то не работает Sergey
2009-08-20  9:01 ` pustovit
2009-08-20  9:57   ` Sergey

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