From owner-freebsd-questions Wed May 5 15:29:37 1999 Delivered-To: freebsd-questions@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id 0D334158BB for ; Wed, 5 May 1999 15:29:34 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id PAA20788; Wed, 5 May 1999 15:29:31 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Wed, 5 May 1999 15:29:29 -0700 (PDT) From: Doug White To: dissonant Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ftp-only script? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 5 May 1999, dissonant wrote: > Does anyone have a simple shell script to allow certain users to connect > only via ftp? Thanks in advance. Multiple solutions: 1. Change their shell to /sbin/nologin and list /sbin/nologin in /etc/shells. 2. Some FTP daemons (NcFTPD comes to mind) let you create 'virtual users' that don't have real system accounts. Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message