From: zen@bf.rmit.edu.au (Stuart 'Zen' Bishop)
Subject: Re: WU-FTPD : Using /bin/false in /etc/passwd file
Date: 1995/05/04 [thread overview]
Message-ID: <3oa208$j1c@aggedor.rmit.EDU.AU> (raw)
In-Reply-To: 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.
>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 //
((_______________________________________________________________________//
prev parent reply other threads:[~1995-05-04 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
1995-05-04 4:00 ` Gadzhiev A. M.
1995-05-04 4:00 ` Stuart 'Zen' Bishop [this message]
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