Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 May 2002 15:22:37 +0200
From:      Paul Everlund <tdv94ped@cs.umu.se>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: FTP server, telnetd and shells (fixed)
Message-ID:  <3CEF901D.3B7570A@cs.umu.se>
References:  <3CEF8A4A.70062684@cs.umu.se>

next in thread | previous in thread | raw e-mail | index | archive | help
Paul Everlund wrote:
> 
> I've set up an FTP server (proftpd) and do not want those
> who have an account on it to be able to login via telnet.
> 
> How can this best be done? It seems like the FTP server
> needs a shell, as /nonexistent do not work. And when a
> user have a shell, he/she can login via telnet.
> 
> The solution should permitt adding and removing users
> easily.

Hey stoopid! Tell your one braincell to put /sbin/nologin
into /etc/shells, then do vipw and change the shell entry
in the password file to /sbin/nologin. Now it should work!

----

And it did! Thanks Paul for your great tip! :-)

Seems like Google, with the correct search phrase is a
good friend.

/Paul

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CEF901D.3B7570A>