From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jim C. Brown" Subject: Re: linuxsingle Date: Sun, 10 Apr 2005 11:50:37 -0400 Message-ID: <20050410155037.GA26834@jbrown.mylinuxbox.org> References: <20050410042036.86859.qmail@web52908.mail.yahoo.com> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <20050410042036.86859.qmail@web52908.mail.yahoo.com> Sender: linux-admin-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Ankit Jain Cc: admin On Sun, Apr 10, 2005 at 05:20:36AM +0100, Ankit Jain wrote: > ifanybody can tell me how to make changes in linux so > that a person cannot move to linux single mode in any > condition . not even from bootable CD > > thanks > > ankit > To disable single mode, you basicly have to patch /sbin/init. (This is actually easier than it sounds, if u can get your hands on init source code.) You might be able to get away by disabling runlevel 1 in /etc/inittab (or making it the same as runlevel 3). There is no way to stop a bootable CD. This is above the init level, above the kernel level, and above the bootloader (lilo/grub) level. You can try to disable this option from the BIOS, but even that is easy to work around. -- Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.