Date: Fri, 8 Mar 2002 18:25:42 -0800 From: "barazani" <bara_zani@yahoo.com> To: "Steven Lake" <raiden@shell.core.com>, <freebsd-questions@FreeBSD.ORG> Subject: Re: Selectively forbidding login Message-ID: <028801c1c711$b6a6f110$7b00a8c0@motil> References: <Pine.GSO.4.44L0.0203081657180.5259-100000@shell.core.com>
next in thread | previous in thread | raw e-mail | index | archive | help
try using proftp it will allow you to create multiple "anonymous" accounts ,regradless of wather the user has a local login or not . ----- Original Message ----- From: "Steven Lake" <raiden@shell.core.com> To: <freebsd-questions@FreeBSD.ORG> Sent: Friday, March 08, 2002 3:03 PM Subject: Selectively forbidding login > Ok, I've looked around and tried the suggestion to modify a user's > login so that it reads /sbin/nologin for the shell to prevent user from > logging into ssh, but it also blocks them from logging in via FTP and all > other services as well. > > All I want it to do is prevent a user from logging into the server via > anything but FTP. I want them to have FTP access and when they login > they land in their home directory with the path showing in the FTP > program as "/", but nothing else. How would I best go about this? > > AKA. When a user does "PWD" all they see is "Current directory is > /" instead of the full path and when they do a CD.. they can't go any > higher in the directory structure. Basically put I'm wanting to set users > so that they can't see anything on the server except their home directory. > > Thanks again! > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > 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?028801c1c711$b6a6f110$7b00a8c0>