Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2001 23:23:19 -0400
From:      Robert Hough <rch@acidpit.org>
To:        freebsd-isp@FreeBSD.ORG
Subject:   Re: protecting /sbin and /usr/local/sbin
Message-ID:  <20010913232319.B62967@acidpit.org>
In-Reply-To: <20010913113439.G33971-100000@cithaeron.argolis.org>; from piechota@argolis.org on Thu, Sep 13, 2001 at 11:37:51 -0400
References:  <20010912142752.A26055@xor.obsecurity.org> <20010913113439.G33971-100000@cithaeron.argolis.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 13, 2001, Matt Piechota wrote:

> You could make it harder for them, but you're not going to be able to
> stop them from running the commands in question.

Sure you can, it's rather simple. :)

# chsh -s /sbin/nologin <username>


-- 
Robert Hough (rch@acidpit.org)

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?20010913232319.B62967>