Results 1 to 7 of 7

Thread: Managing system startup

  1. #1
    Member
    Join Date
    Feb 2007
    Posts
    229

    Default Managing system startup

    Looks like something i recently installed has added apache2 and dhcpcd3-server to my startup services. I remember that there were tools to manage which svcs start during the boot process, but what's the manual way to manage it in BT4/ubuntu? thx

  2. #2
    Super Moderator Archangel-Amael's Avatar
    Join Date
    Jan 2010
    Location
    Somewhere
    Posts
    8,012

    Default

    Quote Originally Posted by RageLtMan View Post
    Looks like something i recently installed has added apache2 and dhcpcd3-server to my startup services. I remember that there were tools to manage which svcs start during the boot process, but what's the manual way to manage it in BT4/ubuntu? thx
    Two days ago I answered this same question in another thread.
    /etc/init.d/

    http://www.debian-administration.org...me_with_Debian
    To be successful here you should read all of the following.
    ForumRules
    ForumFAQ
    If you are new to Back|Track
    Back|Track Wiki
    Failure to do so will probably get your threads deleted or worse.

  3. #3
    Member
    Join Date
    Feb 2007
    Posts
    229

    Default

    thanks for the response, yet again, i ought to refine my query: init.d stores the init scripts, but not all of them are initialized by default when linux boots. there's some way to set them to auto-start, and that's what i dont know how to do. i figure it would be easy enough to move the scripts out of init.d, but then if i want to run the svc, i have to start it from elsewhere.

  4. #4
    Senior Member orange's Avatar
    Join Date
    Jan 2010
    Posts
    134

    Default

    To disable them run
    Code:
    # update-rc.d -f apache2 remove
    # update-rc.d -f dhcp3-server remove
    To enable them run
    Code:
    # update-rc.d apache2 defaults
    # update-rc.d dhcp3-server defaults

  5. #5
    Super Moderator Archangel-Amael's Avatar
    Join Date
    Jan 2010
    Location
    Somewhere
    Posts
    8,012

    Default

    Sorry about the second link above. It got borked.
    Any rate check it out it will tell you what you need to do in order to work with start up services.
    To be successful here you should read all of the following.
    ForumRules
    ForumFAQ
    If you are new to Back|Track
    Back|Track Wiki
    Failure to do so will probably get your threads deleted or worse.

  6. #6
    Just burned his ISO
    Join Date
    Jan 2010
    Posts
    22

    Default

    I got the same thing on my setup.

    Ubiquity was also added to the startup and I understand it should`nt because I already installed BT4 on HD. It is not harmful, but I want to keep the system clean.

  7. #7
    Jenkem Addict imported_wyze's Avatar
    Join Date
    Jul 2007
    Posts
    1,543

    Default

    Make this a startup script:


    Code:
    update-rc.d -f inetutils-inetd remove
    update-rc.d -f tinyproxy remove
    update-rc.d -f iodined remove
    update-rc.d -f knockd remove
    update-rc.d -f openvpn remove
    update-rc.d -f atftpd remove
    update-rc.d -f ntop remove
    update-rc.d -f nstxd remove
    update-rc.d -f nstxcd remove 
    update-rc.d -f apache2 remove
    update-rc.d -f sendmail remove
    update-rc.d -f atd remove
    update-rc.d -f dhcp3-server remove
    update-rc.d -f winbind remove
    update-rc.d -f miredo remove
    update-rc.d -f miredo-server remove
    update-rc.d -f pcscd remove
    update-rc.d -f wicd remove
    update-rc.d -f wacom remove
    update-rc.d -f cups remove
    update-rc.d -f bluetooth remove
    update-rc.d -f binfmt-support remove

    (taken from http://www.offensive-security.com/install.txt)
    dd if=/dev/swc666 of=/dev/wyze

Posting Permissions

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