Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2001 17:39:23 -0500
From:      Steve Ames <steve@virtual-voodoo.com>
To:        George.Giles@mcmail.vanderbilt.edu
Cc:        freebsd-security@FreeBSD.ORG
Subject:   Re: ftp access
Message-ID:  <20010227173923.A36303@virtual-voodoo.com>
In-Reply-To: <OFF1AB3DF2.EE5F05B7-ON86256A00.007ADD5A@MC.VANDERBILT.EDU>; from George.Giles@mcmail.vanderbilt.edu on Tue, Feb 27, 2001 at 04:22:33PM -0600
References:  <OFF1AB3DF2.EE5F05B7-ON86256A00.007ADD5A@MC.VANDERBILT.EDU>

next in thread | previous in thread | raw e-mail | index | archive | help
Specify a "shell" that won't actually allow shell access.
I believe /bin/true (or /sbin/nologin) would work but there 
are some specific ports that you can use to provide some info 
to the user when their telnet fails...

From /usr/ports/sysutils/no-login/pkg-descr:

This program will refuse login to a user, and make a note of it in the
system logs (syslog).  This is suitable for use as a "login shell" for
a user that you want to temporarily deny access to.  Just set that user's
shell to /usr/local/sbin/nologin.

-Steve

On Tue, Feb 27, 2001 at 04:22:33PM -0600, George.Giles@mcmail.vanderbilt.edu wrote:
> What do I use in passwd to allow ftp, but not shell access on account ?
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-security" in the body of the message

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




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