Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 May 2001 10:18:10 -0500
From:      Marius Strom <marius@marius.org>
To:        freebsd-isp@FreeBSD.ORG
Subject:   Re: restriction of user
Message-ID:  <20010523101810.H15890@marius.org>
In-Reply-To: <3B0BE221.16937.4F7877F@localhost>; from ndear@areti.net on Wed, May 23, 2001 at 04:15:29PM %2B0100
References:  <510EAC2065C0D311929200A024725262262532@NETIVITY-FS> <3B0BE221.16937.4F7877F@localhost>

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

echo /bin/true >> /etc/shells

On Wed, May 23, 2001 at 04:15:29PM +0100, Nicholas J. Dear wrote:
> I think a lot of FTPd's will not let you login unless you have a valid shell 
> however.
> 
> N.
> 
> On 23 May 2001, at 17:15, Enriko Groen wrote:
> 
> > > -----Original Message-----
> > > From: alexus [mailto:ml@db.nexgen.com]
> > > Sent: Wednesday, May 23, 2001 17:11
> > > To: freebsd-isp@freebsd.org
> > > Subject: restriction of user
> > > 
> > > 
> > > how can i disallow certain users shell access but do not 
> > > restrict ftp/mail
> > > acccess?
> > 
> > Set their logon shell to /nonexistent (or /sbin/nologin) instead of /bin/sh
> > in your /etc/passwd file.
> > 
> > --
> > --------------------------------------------------------
> > netivity bv   www.netivity.nl   enriko.groen@netivity.nl
> > 038 - 850 1000   van nagellstraat 4      8011 eb  zwolle
> > --------------------------------------------------------
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-isp" in the body of the message
> > 
> 
> 
> --
> Nicholas J. Dear
> Mail: ndear@areti.net Tel: +44 (0)20-8402-4041
> Areti Internet Ltd., http://www.areti.co.uk/
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-isp" in the body of the message
> 

-- 
Marius Strom <marius@marius.org>
Professional Geek/Unix System Administrator
URL: http://www.marius.org/
http://www.marius.org/marius.pgp 0xF5D89089 *updated 2001-02-26*
 
It is a natural law. Physics tells us that for every action, there must be an
equal and opposite reaction. They hate us, we hate them, they hate us back and
so, here we are, victims of mathematics.
-- Londo, "A Voice in the Wilderness I"

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




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