Subject: Re: Denying one user telnet
To: netbsd <netbsd-users@netbsd.org>
From: Bernd Sieker <bsieker@freenet.de>
List: netbsd-users
Date: 07/08/2002 15:39:17
On 08.07.02, 15:33:40, Johnny Billquist wrote:
> On Mon, 8 Jul 2002, Shyam Kumar Mangayil wrote:
> 
> > I am hosting a couple of sites at my server , and my style is by
> > creating a username - password for every client that I host : Some may
> > have to be denied telnet , others ftp .
> 
> To deny users from telnet, set the shell to /sbin/nologin

That would deny them any shell access, not only via telnet, but also
via ssh, rsh or local console login. If that is what you want ...?

> To deny users from ftp, use /etc/ftpusers
> 
> 	Johnny
> 
> Johnny Billquist                  || "I'm on a bus

-- 
Bernd Sieker

NetBSD - here today and in the middle of 2038 tomorrow.
		-- Julian Assange