From owner-freebsd-security Thu Oct 5 6:30:22 2000 Delivered-To: freebsd-security@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 0D4A637B66C for ; Thu, 5 Oct 2000 06:30:17 -0700 (PDT) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id PAA05169; Thu, 5 Oct 2000 15:30:01 +0200 (CEST) (envelope-from des@ofug.org) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Alex Prohorenko Cc: freebsd-security@FreeBSD.ORG Subject: Re: BSD chpass (fwd) References: <20001004053422.8A3901F19@static.unixfreak.org> <8rhvfk$12ue$2@pandora.alkar.net> From: Dag-Erling Smorgrav Date: 05 Oct 2000 15:30:00 +0200 In-Reply-To: Alex Prohorenko's message of "5 Oct 2000 13:25:08 GMT" Message-ID: Lines: 17 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Alex Prohorenko writes: > Dima Dorfman wrote: > > Unfortunatly it isn't that easy if you're running with securelevel > 0 > > since chpass is installed with the schg (system immutable) flag on by > > default. Oh well, guess it's time to reboot some hosts. :-/ > I do not see any single problem here. > > chflags noschg /usr/bin/chpass > chown u-s /usr/bin/chpass > > Sounds pretty easy, isn't it? Except that chflags doesn't work at higher securelevels. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message