Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 May 1999 15:29:29 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        dissonant <disowned@flitr.nu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: ftp-only script?
Message-ID:  <Pine.BSF.4.03.9905051528240.24610-100000@resnet.uoregon.edu>
In-Reply-To: <Pine.BSF.4.05.9905051414100.13161-100000@flitr.nu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.03.9905051528240.24610-100000>