Results 1 to 5 of 5

Thread: edit the rc.local

Hybrid View

  1. #1
    Just burned his ISO
    Join Date
    Aug 2007
    Posts
    2

    Default edit the rc.local

    I want to make a drone box I am booting from the usb drive, is there a way to unconpress the lzm and edit the rc.local file i want to have a static ip on boot and sshd running?

  2. #2
    Member imported_blackfoot's Avatar
    Join Date
    Jun 2007
    Posts
    386

    Default yes

    yes:

    to expand an lzm file:
    lzm2dir filename.lzm /

    to edit rc.local:
    vi rc.local
    Lux sit

  3. #3
    Just burned his ISO
    Join Date
    Aug 2007
    Posts
    2

    Default

    after saving changes how would i generate the lzm with my changes and save them to the usb stick.

  4. #4
    Member
    Join Date
    Jan 2007
    Posts
    242

    Default

    http://backtrack.offensive-security....wto:Module_Dir

    Amazingly enough, we have a wiki. Some time spent there would be a good idea. The above link is the first link in the howto section.

    http://forums.remote-exploit.org/search.php

    This question has been asked before, countless times.

    Good Luck

  5. #5
    Just burned his ISO
    Join Date
    Feb 2009
    Posts
    1

    Default

    Sorry to revive a dead thread but this was the closest one i could find to what i'm looking for.

    I have read the Howto:Module Dir wiki page. My question is if I want to edit a single file located in /etc/ (in this thread the rc.local file) and add that to my iso do I need to make a complete lzm module from the entire /etc/ directory or only files I have change?

    Also if I create a new module (/BT3/modules/module.lzm) that is intended to provide an edited or additional file in an existing directory (ie /etc/) will the contents of the new module replace those of the existing module (/BT3/base/etc.lzm)

    The three Howto's on Modules are not clear on this and I'm still a little fuzzy with how lzm modules work, because I'm new to slax based distros

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •