Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Aug 1999 22:30:13 +0100 (BST)
From:      Andrew Boothman <andrew@ukug.uk.FreeBSD.org>
To:        Guy Phillips <guy@mrguy.com>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: Adduser Warnings
Message-ID:  <XFMail.990828223013.andrew@ukug.uk.FreeBSD.org>
In-Reply-To: <199908272019.PAA15314@db.geocrawler.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 27-Aug-99 Geocrawler.com wrote:
> This message was sent from Geocrawler.com by "Guy Phillips" <guy@mrguy.com>
> Be sure to reply to that address.
> 
> I am using 3.2 stable.
> 
> I blocked users access to telnet and only allowed ftp access. I did this in
> chpass by changing their shell to /bin/ftponly and then placing them in the
> ftpchroot file. Of course this shell does not exist. All works well!! None of
> the selected users can telnet in and they are locked into their home
> directories when using FTP.

Surely it makes more sense to set the shell to /sbin/nologin and then the
system does understand what program to present users with when they login?

---
Andrew Boothman <andrew@ukug.uk.FreeBSD.org>
FreeBSD UK User Group
http://ukug.uk.FreeBSD.org/~andrew/
http://ukug.uk.FreeBSD.org/


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?XFMail.990828223013.andrew>