Re: Linux runlevel 1 doesn't ask for root password

From: Dave Brown (dhbrown_at_hobbes.dhbrown.net)
Date: 08/16/03


Date: Sat, 16 Aug 2003 02:56:35 GMT

In article <87u18ic3p2.fsf@toncho.dhh.gt.org>, John Hasler wrote:
> Jean-David Beyer writes:
>> So what do you do if you have implemented this and forgotten the root
>> password? Re-install?
>
> Boot from a rescue disk and change the password.
>
>> Or do you keep a copy of the root password written on a post-it note on
>> your monitor?
>
> You might as well, if the machine can be booted into single-user mode with
> no password.

Well, if you can boot from removable media, then a grub password is silly.
Or do you think a potential intruder might not have a resuce disk?

You can remove booting from removable media from the CMOS setup, but given
enough time, an intruder could remove the CMOS password.

Of courss, if the machine is dual bootable, then there's the problem of
access via Windows. (loadlin, etc.) Of course, Windows, at least NT and
2K, may be password protected, but unfortunately, usually not or not very
well. (I've read that 60 percent of Windows machines have an
Administrator password of 'password'.)

Unless a machine is physically secure (no access without key to the lock,
it is not secure. If it is in a locked room, then booting into
single-user mode is deprived from anyone without access to the room, grub
(or lilo) password or not.

-- 
Dave Brown  Austin, TX


Relevant Pages

  • Re: XP CD fails to Boot/XP also fails on Muti-OS System
    ... I got a Windows 2000 cd to hopefully run chkdsk and alias the cd they gave me was scratched to hell and it could not boot correctly either. ... I ended up reformatting the partition and rebuilding the NTFS file system using mkfs.ntfs command in the Linux system rescue disk. ... I then got the idea to copy the partition containing Windows 2000 to the first partition that used to contain WinXP just to see if it will work. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Help - Linux and Windows Dual-boot system
    ... I didn't create the rescue disk. ... Is it possible to modify some files such as boot.ini or MBR under Windows? ... >> either Linux or Windows without any problem. ... >> so I can see Linux again during boot. ...
    (comp.os.linux.development.apps)
  • Re: [SLE] Boot manager
    ... make a rescue disk which will include the boot sector or has since dos. ... Yast2 and run the boot loader. ... >I have to dual boot my machine between Linux and Windows (Windows pays ... >Check the headers for your unsubscription address ...
    (SuSE)
  • Re: Help - Linux and Windows Dual-boot system
    ... I didn't create the rescue disk. ... Is it possible to modify some files such as boot.ini or MBR under Windows? ... >> either Linux or Windows without any problem. ... >> so I can see Linux again during boot. ...
    (comp.os.linux.misc)
  • Re: Boot up problem... with a difference
    ... Safe mode boot is fine. ... Looked further into the last errors and noticed PXRD Driver. ... Event Type: Error ... Windows cannot unload your classes registry file - it is still in ...
    (microsoft.public.windowsxp.help_and_support)