Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 09-02-2007, 10:50 AM   #1
LQ Newbie
Registered: Sep 2007
Posts: 1

Rep: Reputation: 0
Question Edit ELsmp boot file


I been given a computer with RHEL on it. I've only been using linux for about 6 months and mostly Ubuntu. Before I format the computer I would like to see if I can give myself root privileges on this computer as a learning experience.

I've booted off of a Ubuntu Live CD and mounted the /dev/sda1. There is a grub and lost+found folder. Then there are init*.img, vmlinu-*.ELsmp files and a few files that look like config files.

I was able to use cpio to unzip the .img files which did create a /etc/ folder but that folder didn't contain the passwd or shadow files.

Therefore, I'm pretty sure I need to unzip the *.ELsmp files, edit the correct files and then somehow zip them back up.

Is this possible or am I wasting my time?

Thank you in advance!

Turned out the file system was LVM and Ubuntu doesn't recognize that with default setup. I found a method for mounting LVM in Ubuntu at

Last edited by nablaodel; 09-14-2007 at 07:18 AM. Reason: Update
Old 09-03-2007, 08:45 AM   #2
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 57
Yep, your wasting your time no passwords or shadow files are stored in the img files. As a suggestion read the manuals;

And learn the power of su, sudo, the sudoers file and the wheel group.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
help to edit Edit my bootloader's config file from kernel prompt jagdishpandey Linux - Kernel 5 07-03-2007 07:59 AM
How to downgrade from 2.6.9-42.0.3.ELsmp to 2.6.9-42.0.2.ELsmp ? bin_asc Linux - Kernel 1 12-30-2006 12:31 PM
Kind souls: help getting Mandriva install 2 boot? edit boot.ini/grub /boot device or NoMoreReinstallMS Linux - Newbie 1 08-09-2006 05:34 AM
XORG.CONF file messed up, how do I edit on boot? technofreek Linux - Software 6 03-10-2006 11:25 AM
mepisers which file do i edit to make things start at boot? wellington MEPIS 4 03-04-2006 03:09 PM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 05:44 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration