Re: Running a script at boot

From: Christoph Wickert (christoph.wickert_at_gmx.de)
Date: 08/07/05

  • Next message: T. Horsnell: "Re: setting up passwordless ssh connections"
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    Date: Sun, 07 Aug 2005 20:18:51 +0200
    
    

    Am Sonntag, den 07.08.2005, 20:46 +0300 schrieb Dotan Cohen:
    > Simple question: how do I start a script that must be run as root at
    > boot? I've been googleing and I came across chkconfig, but I don't
    > want to mess with it for the first time alone.
    >
    > I've also poked around in MARC for "running script startup" on the
    > fedora-list and others. The only thing that seemed relevant was a post
    > for SUSE where the following was suggested:
    > ln -s /usr/sbin/myscript /etc/init.d/rc3.d/S99myscript
    >
    > Is this relevant for FC4 as well? Thanks.

    Yes.

    I don't want to be impolite, but I'd like to ask you to read the manuals
    _before_ you post to this list.

    "A Detailed Look at the Boot Process"
    http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/ref-guide/s1-boot-init-shutdown-process.html

    "Running Additional Programs at Boot Time"
    http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/ref-guide/s1-boot-init-shutdown-run-boot.html

    Thanks!
    Christoph

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: T. Horsnell: "Re: setting up passwordless ssh connections"

    Relevant Pages

    • RE: Linux hacked
      ... I would also suggest using a simple script in the future that alerts ... Subject: Linux hacked ... To get back into your account you want to use, at the boot manager ... boot normally and you should be able to login as root with your new ...
      (Security-Basics)
    • v210 hangs on boot and install
      ... root device, I rebooted it with root mounted on md device, ... When I boot into single user from cd, ... Executing JumpStart preinstall phase... ... Using begin script: install_begin ...
      (SunManagers)
    • RE: Linux hacked
      ... > script that performs an MD5 hash on certain files and then compares the ... > boot normally and you should be able to login as root with your new ... > crackers break in their account and from there they do more damage. ...
      (Security-Basics)
    • Re: Target filesystem doesnt have /sbin/init
      ... Yesterday I run apt-get install linux-image.2.6.17. ... Obviously all dependants etc were satisfied and this morning on rebooting my machine boot and then fell on a busybox screen. ... Looks like script init in initrd.img can't mount root fs in ur system. ...
      (Debian-User)
    • A little help with Permissions
      ... if I reboot my system the permissions changes back to root. ... I tried writing a script for it to run on boot up, ... for me as it needs to run at root level. ...
      (alt.os.linux.suse)