Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 May 2001 09:59:23 -0600
From:      Peter <fbsdq@yahoo.com>
To:        petef@databits.net, "freebsd-isp@freebsd.org" <freebsd-isp@freebsd.org>
Subject:   Re: restrict user (re post)
Message-ID:  <SAK.2001.05.23.ebajknen@support10>

next in thread | raw e-mail | index | archive | help
. . . .|| Someone from x.x.x.x tried to login as "test" user, whose shell is illegal
. . . .|| (/sbin/nologin).
	By what you said, it's illegal only in the sense that they can't telnet/ssh
into that box.
ftpd works by only allowing a user in who has a shell [/sbin/nologin] in /etc/shells.

so does the nologin shell exist in /etc/shells? if yes, ftp is workign properly
remove /sbin/nologin from /etc/shells and user won't be able to use ftp.

On 05/23/2001 9:44:41 AM, Pete Fritchman is quoted as saying:
 

. . . .|++ 23/05/01 11:42 -0400 - alexus:
. . . .|| I'm using FreeBSD 4.3 w/ NcFTPd 2.6.x
. . . .|| 
. . . .|| Someone from x.x.x.x tried to login as "test" user, whose shell is illegal
. . . .|| (/sbin/nologin).
. . . .|| 
. . . .|
. . . .|So, obviously, NcFTPd must be using another method to verify a user's
. . . .|shell.  A quick search on google reveals:
. . . .|
. . . .|http://www.ncftpd.com/ncftpd/doc/faq/trouble.html
. . . .|
. . . .|[excerpt]
. . . .|User has an illegal shell;
. . . .|    Fix: Add the user's shell to /etc/shells, or change the user's
. . . .|    shell.  Then restart NcFTPd.
. . . .|
. . . .|Did you restart NcFTPd, or follow other troubleshooting procedures
. . . .|listed on their webpage?  This is drifting OT from freebsd-isp because
. . . .|it seems to be an issue with your FTP server.
. . . .|
. . . .|-pete
. . . .|
. . . .|--
. . . .|Pete Fritchman <petef@databits.net>
. . . .|Databits Network Services, Inc. <http://databits.net>;
. . . .|finger petef@databits.net for PGP key
. . . .|
. . . .|
. . . .|To Unsubscribe: send mail to majordomo@FreeBSD.org
. . . .|with "unsubscribe freebsd-isp" in the body of the message



www.nul.cjb.net
www.FreeBSD.org



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?SAK.2001.05.23.ebajknen>