Date: Fri, 1 Jun 2001 12:39:14 +0100 From: David Taylor <davidt@yadt.co.uk> To: Angshuman Dasgupta <angshumand@yahoo.com> Cc: freebsd-stable@freebsd.org Subject: Re: problem with chflags Message-ID: <20010601123914.A1166@gattaca.yadt.co.uk> In-Reply-To: <20010601111527.9002.qmail@web9506.mail.yahoo.com>; from angshumand@yahoo.com on Fri, Jun 01, 2001 at 04:15:27 -0700 References: <Pine.BSF.4.05.10106011248500.9333-100000@carmel.diva.nl> <20010601111527.9002.qmail@web9506.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, 01 Jun 2001, Angshuman Dasgupta wrote: > I got four replies to the original posting - I'm > trying to reply to all here... > I WAS running make installworld in singleuser mode >=20 > I changed securelevel to 0 in rc.conf and rebooted - > and it said RAISING kernel securelevel -1 -> 0 !! Well, 0 is bigger than -1. That's unrelated to what the securelevel was the previous boot, which might have said 'raising kernel securelevel -1 -> 2'... > And after that (as well as before) I tried chflags > noschg /usr/lib/libscrypt.so.2 and I'm consistently > getting the same thing : operation not permitted. If you're in single user mode, you have remembered to mount /usr, and all the other partitions, rw? Type 'mount' and make sure it doesn't mention (read-only). =20 > is there any way i can check what securelevel the > kernel is running in? Can anyone tell me why this is > happening, at securelevel 0? (apparently) $ sysctl kern.securelevel will show you the securelevel. Presumably you are either: not root; or running with a readonly filesystem; or possibly, the /usr/lib directroy is schg too.... --=20 David Taylor davidt@yadt.co.uk --17pEHd4RhPHOinZp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD4DBQE7F37ifIqKXSsJ/xERApsXAKC8+NjRWdqg+98RkZV43Nk473wxQgCY1HeF WPgC6vhRKFUFIWjaH6T7Aw== =JfAH -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010601123914.A1166>