Re: bootloader password



ch1cke3n_ju1c3r@xxxxxxxxxxxxxxxxxxxxxxx wrote:

With that in mind, it seems odd that you'd take issue with someone
posting from a Non-Linux box.

Actually it was because some others may have looked. Though at this time of year, I did look since it sounded like a lab or test question. Of course it could just be someone who doesn't know to include any pertinent information.

It's been broken down into discrete, googleable steps, that should be
sufficient. If you care to break it down further, be my guest.


Well, actually the original question was googleable. It would even yield in the first few links how to do it on both lilo and grub.

Without knowing for sure, the distro involved, telling him to use a rescue disk, first disk of the install set, or a live CD/DVD, would be difficult. I know you would think that it would be a Fedora or Red Hat derivative distro since this is a Red Hat newsgroup, but that may not always be true. Of course, a live CD/DVD will work, but which one? He may be running a file system that is unusual.

If it is not a Fedora or Red Hat derivative distro, the location of the configuration file may not be in the /etc folder. Though grub.conf isn't really in the /etc folder anyway. (I don't remember if lilo.conf is really there or not. It's been a long time since I used lilo.)

The answer by the way is read/update/remove/comment out, in the case of lilo, or remove/comment out, in the case of grub, the password line in the configuration file. The obvious answer is to replace the configuration of the boot loader. Though just replacing the configuration could remove directives to the kernel required for the machine to properly run, or even boot at all. Telling them to replace the configuration might leave them in a worse position than they already were in.

Ken
.



Relevant Pages

  • Re: ATI or Nvidia?
    ... I don't like too much having these proprietary drivers "tainting" my ... Usage: aticonfig... ... Parses an existing X-Server configuration file and modifies it to operate ...
    (comp.os.linux.hardware)
  • Re: Configuration data for a Windows Service
    ... The service will definitely use a configuration file for at least some of ... the pluggable objects itself is still on the table. ... If my hosting application was a standard Windows Forms ...
    (microsoft.public.dotnet.framework)
  • Re: [RFC] libcg: design and plans
    ... In general - cgroup is a very flexible subsystem that can be used in a wide variety of ways and modes and trying to create a universal simple API would more likely result in something hard to manage and work with. ... We have been working on a library for control groups which would provide ... Provide persistent configuration across reboots ... Similarly a configuration file will be ...
    (Linux-Kernel)
  • [RHSA-2002:134-12] Updated mod_ssl packages available
    ... In order to exploit this vulnerability, the Apache Web server has to be ... configured to allow overriding of configuration settings on a per-directory ... where is a list of the RPMs you wish to upgrade. ... Please note that this update is also available via Red Hat Network. ...
    (Bugtraq)
  • Re: An ssh Question
    ... Connecting to xxxxxxxxxxxxxx.com port 22. ... an ssh configuration problem - that is, the FreeBSD ssh client can't do ... # This is the ssh client system-wide configuration file. ...
    (freebsd-questions)