From owner-freebsd-hackers Sun Oct 8 01:00:28 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA22095 for hackers-outgoing; Sun, 8 Oct 1995 01:00:28 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id BAA22085 for ; Sun, 8 Oct 1995 01:00:24 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id JAA25163 for ; Sun, 8 Oct 1995 09:00:21 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id JAA18982 for FreeBSD-hackers@freefall.freebsd.org; Sun, 8 Oct 1995 09:00:21 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id HAA09993 for FreeBSD-hackers@freefall.freebsd.org; Sun, 8 Oct 1995 07:59:43 +0100 From: J Wunsch Message-Id: <199510080659.HAA09993@uriah.heep.sax.de> Subject: Re: can't delete chfn To: FreeBSD-hackers@freefall.freebsd.org Date: Sun, 8 Oct 1995 07:59:42 +0100 (MET) Reply-To: FreeBSD-hackers@freefall.freebsd.org In-Reply-To: from "Jonathan M. Bresler" at Oct 7, 95 08:58:17 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 952 Sender: owner-hackers@FreeBSD.org Precedence: bulk As Jonathan M. Bresler wrote: > > > > > root@apollo [3:58pm][/usr/bin] >> dir chfn > > > > -r-sr-xr-x 1 root bin schg 20480 Jul 26 07:57 chfn > > Hmm, but it seems like it was make world that did this so make world > > is preventing new make worlds from happening? > make world does not install a new kernel. Huh? The question was about chfn(1) here...: beforeinstall: [ ! -e ${DESTDIR}${BINDIR}/chpass ] || \ chflags noschg ${DESTDIR}${BINDIR}/chpass afterinstall: chflags schg ${DESTDIR}${BINDIR}/chpass Well, there are two reasons why i think this could fail: o somebody has raised kern.securelevel (e.g. with sysctl(8)) o somebody broke the hard link between chfn and chpass, so the above "chflags noschg" didn't alter chfn, only chpass -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)