Results 1 to 4 of 4

Thread: How to start an script in terminal at startup as root

  1. #1
    Join Date
    Jun 2011
    Beans
    304

    How to start an script in terminal at startup as root

    How can I start a script in terminal at startup as root? I am running Cinnamon desktop on linux-mint-13 (based on ubuntu precise). Thanks for your help.

  2. #2
    Join Date
    Oct 2004
    Location
    Denmark - Scandinavia
    Beans
    19,553
    Distro
    Ubuntu Budgie Development Release

    Re: How to start an script in terminal at startup as root

    Moved to Other OS/Distro Support.

  3. #3

    Re: How to start an script in terminal at startup as root

    Quote Originally Posted by rng View Post
    How can I start a script in terminal at startup as root? I am running Cinnamon desktop on linux-mint-13 (based on ubuntu precise). Thanks for your help.
    Never use your computer as root.
    stick whatever in /etc/rc.local and it will run after all system daemons have started.
    It's the fast and easy method and perfectly ok to do.

    Cron is another way to run still 'as root'

    make backups before edit.
    Windows assumes the user is an idiot.
    Linux demands proof.

  4. #4
    Join Date
    Nov 2007
    Location
    Wisconsin
    Beans
    1,139

    Re: How to start an script in terminal at startup as root

    Use Upstart. That's exactly what it's for.
    http://upstart.ubuntu.com/cookbook/

Bookmarks

Posting Permissions

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