Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: fryja@rs6a.wln.com (Jason K Fry)
Subject: Re: WU-FTPD : Using /bin/false in /etc/passwd file
Date: 1995/05/03	[thread overview]
Message-ID: <3o9086$9dp@calliope.wln.com> (raw)
In-Reply-To: 3o8pvp$dff@news.ycc.yale.edu

Rick Beebe (beebe@biomed.med.yale.edu) wrote:
: In <3o3f6g$4j6@longtail.ibl.bm>, nmovold@ibl.bm (Neil Movold) writes:
: >Has anyone successfully been able to use /bin/false as a shell
: >in the /etc/passwd file in order to not allow users to telnet into
: >restricted FTP accounts?  I want to be able to allow users to ftp
: >into my server to another root directory other than the anonymous
: >ftp directory in order to do WWW development.  However, I don't
: >want them to be able to telnet into the server.  There is some great
: >documentation on setting up this sort of environment in the book
: >"Managing INTERNET Information Services" on page 80 under
: >Group Controls.  The procedure is straight forward but does not
: >work.  The book says to put the shell /bin/false on the end of the
: >users /etc/passwd file entry which would block telnet, but this
: >does not work since if a user then FTPs into the FTP server,
: >they get an access denied error message.

: I had this problem when I first set up anonymous FTP (about 4 years ago under 
: Ultrix), but I don't remember what fixed it. Sorry. I use sync.  Don't know
: if it'll make a difference.  My /etc/passwd line looks like:

: ftp:DdsdWFdgD:285:14:Anonymous FTP:/usr/ftp:/sbin/sync

: Note that you can give the FTP account a password and that won't affect 
: anonymous FTP at all. People won't be able to telnet to, it though. Maybe my 
: initial problem was trying to use * in the password field?

:    _____________________________________________________________________
:     Rick Beebe                                           (203) 785-4566
:     Data Network Operations                      Richard.Beebe@yale.edu
:     Biomedical Computing Unit                    
:     Yale University School of Medicine             
:     333 Cedar Street, New Haven, CT 06510        
:    _____________________________________________________________________


There actually has to be a dummy file called /bin/false.  Make sure that
it exists.

Jason K. Fry



  reply	other threads:[~1995-05-03  4:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-05-01  4:00 WU-FTPD : Using /bin/false in /etc/passwd file Neil Movold
1995-05-03  4:00 ` Rick Beebe
1995-05-03  4:00   ` Jason K Fry [this message]
1995-05-04  4:00   ` Gadzhiev A. M.
1995-05-04  4:00 ` Stuart 'Zen' Bishop
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox