Received: from PACIFIC-CARRIER-ANNEX.MIT.EDU by po7.MIT.EDU (5.61/4.7) id AA24380; Wed, 20 Dec 95 13:35:25 EST
Received: from halloran-eldar.lcs.mit.edu by MIT.EDU with SMTP
	id AA19278; Wed, 20 Dec 95 13:35:19 EST
Received: from freefall.FreeBSD.ORG by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM)
	id AA21761; Wed, 20 Dec 1995 13:35:10 -0500
Received: from localhost (daemon@localhost)
          by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id HAA25913
          Wed, 20 Dec 1995 07:55:28 -0800 (PST)
Received: (from root@localhost)
          by freefall.freebsd.org (8.7.3/8.7.3) id HAA25839
          for questions-outgoing; Wed, 20 Dec 1995 07:54:58 -0800 (PST)
Received: from Root.COM (implode.Root.COM [198.145.90.17])
          by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id HAA25829
          for <freebsd-questions@freebsd.org>; Wed, 20 Dec 1995 07:54:53 -0800 (PST)
Received: from corbin.Root.COM (corbin [198.145.90.50]) by Root.COM (8.6.12/8.6.5) with ESMTP id HAA05054; Wed, 20 Dec 1995 07:54:52 -0800
Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.12/8.6.5) with SMTP id HAA00147; Wed, 20 Dec 1995 07:54:52 -0800
Message-Id: <199512201554.HAA00147@corbin.Root.COM>
To: Stephen Hovey <shovey@buffnet.net>
Cc: freebsd-questions@freebsd.org
Subject: Re: replaceing usr/bin/login 
In-Reply-To: Your message of "Wed, 20 Dec 95 10:51:24 EST."
             <Pine.BSD.3.91.951220105059.28602A-100000@buffnet7.buffnet.net> 
From: David Greenman <davidg@root.com>
Reply-To: davidg@root.com
Date: Wed, 20 Dec 1995 07:54:51 -0800
Sender: owner-questions@freebsd.org
Precedence: bulk

>On Wed, 20 Dec 1995, David Greenman wrote:
>
>> >
>> >
>> >I recompiled /usr/bin/login (my rlogin is still messaed even between 
>> >bsd's and Im tracking why)
>> >
>> >I cannot for love or money put the new binary in.
>> >
>> >
>> >I cant mv it, rm it, cat > into it or anything as roo - it says 
>> >:Operation not permitted - on no matter what I try.
>> >
>> >Any ideas?
>> 
>>    It has the immutable bit set. I suggest using "make install" in the
>> directory; this will reset the immutable bit, install the new binary, and
>> set the appropriate permissions and ownership.
>> 
>> -DG
>
>Tried that - it didnt work.

   Did you do it as root? If so, the only other thing that could cause this to
fail would be if the sysctl variable kern.securelevel is > 0 (it shouldn't be
that way unless you've changed it).

-DG
