Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Feb 2000 17:06:22 -0800
From:      "Marc Wandschneider" <marcw@lanfear.com>
To:        "Matt Gostick" <matt@crazylogic.net>
Cc:        <questions@FreeBSD.ORG>
Subject:   RE: allow only ftp for some accounts
Message-ID:  <AKEALEPEFAKLKAPCDLILKEJJIKAA.marcw@lanfear.com>
In-Reply-To: <Pine.BSF.4.10.10002031947590.6611-100000@thunk.crazylogic.net>

next in thread | previous in thread | raw e-mail | index | archive | help


	this is because /etc/nologin is not in /etc/shells.  If a shell is not listed
there, ftpd won't let a user log in.  I just added it to the valid list of
shells.  doesn't seem like a security risk doing so.

	marc.


> -----Original Message-----
> From: Matt Gostick [mailto:matt@crazylogic.net]
> Sent: Thursday, February 03, 2000 4:50 PM
> To: Marc Wandschneider
> Cc: questions@FreeBSD.ORG
> Subject: RE: allow only ftp for some accounts
>
>
>
> On Thu, 3 Feb 2000, Marc Wandschneider wrote:
> >
> > 	just put /bin/nologin as their shell.  give them an account
> with passwords
> > and their ftp directory as their login dir.  you should also put them in
> > /etc/ftpchroot to make sure they can't meander around the system.
>
>
> Hmm.... I did try that one.  When I put the shell as no login I get an
> access denied when trying to ftp as well as telnet.
>
> Any other suggestions?
>
> --
> Matt Gostick <matt@crazylogic.net>
> http://www.crazylogic.net/~matt
>
>



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




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