Date: Mon, 6 May 1996 19:55:14 -0700 (PDT) From: Doug White <dwhite@riley-net170-164.uoregon.edu> To: Joe Nieten <jln@otdc.com> Cc: questions@FreeBSD.ORG Subject: Re: /etc/shells Message-ID: <Pine.BSF.3.91.960506195159.26792E-100000@riley-net170-164.uoregon.edu> In-Reply-To: <199605051555.KAA00202@defiant.vhm.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 4 May 1996, Joe Nieten wrote: > Is ftpd the only program that reads the /etc/shells file? adduser, and anything else that makes use of the getusershell(3) call. (from a cursory look over the man pages: shells(5) and getusershell(3)) > If I wanted to restrict my ftp access to those users who only had the > /bin/false shell, could I put just that in my /etc/shells file? What side > effects would I have? Just put that in there; the computer won't care. This is my ftp entry from /etc/passwd (don't ding me about the password!): ftp:*:65533:65533:anonymous FTP user:/usr/anon:/nonexistent Note the shell is /nonexistent. Works great. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960506195159.26792E-100000>