From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d2ba8f6032700132 X-Google-Attributes: gidfee84,public From: fryja@rs6a.wln.com (Jason K Fry) Subject: Re: WU-FTPD : Using /bin/false in /etc/passwd file Date: 1995/05/03 Message-ID: <3o9086$9dp@calliope.wln.com>#1/1 X-Deja-AN: 101999064 references: <3o8pvp$dff@news.ycc.yale.edu> organization: WLN newsgroups: comp.unix.osf.osf1 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