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: zen@bf.rmit.edu.au (Stuart 'Zen' Bishop) Subject: Re: WU-FTPD : Using /bin/false in /etc/passwd file Date: 1995/05/04 Message-ID: <3oa208$j1c@aggedor.rmit.EDU.AU>#1/1 X-Deja-AN: 101999073 references: <3o3f6g$4j6@longtail.ibl.bm> organization: Royal Melbourne Institute of Technology, Melbourne, Australia. nntp-posting-user: zen newsgroups: comp.unix.osf.osf1 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. >Any suggestions would be appreciated. Add '/bin/false' to the file /etc/shells. ftp won't let you in unless you have a valid shell, and /etc/shells is what defines this. -- _____ // // __ For a good time call http://www.bf.rmit.edu.au/~zen // // / \ I\ I zen@rmit.edu.au // // (-- I \I Unix Systems Administrator // // \__/ I I alias Stuart Bishop Business Faculty, RMIT // ((_______________________________________________________________________//