Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Setting a program to run at startup as root

  1. #11
    Join Date
    Sep 2005
    Beans
    319

    Re: Setting a program to run at startup as root

    Quote Originally Posted by AngusH View Post
    Surely you need root to run some applications? That's the entire reason root is there... so you can do stuff that needs root privs (like install software).
    Angus
    You may be right. You are absolutely right that root is required to install an operating system, but it is possible to install applications to a user's home directory and only that user and root can execute that application.

    Root has access to everything, but there is no application that requires access to everything. An image viewer does not need access to your sound card - unless it's also a video player, in which case,yes, it needs access to the sound card.

    But it doesn't need access to everything.

    For good security you want to make sure that an application has access to only those resources that it needs. Determining that access can be a lot of work, but so is taking care of the backyard.

  2. #12
    Join Date
    Mar 2007
    Beans
    35

    Re: Setting a program to run at startup as root

    Thanks for your help, everyone

  3. #13
    anewguy is offline I Ubuntu, Therefore, I Am
    Join Date
    Jun 2007
    Location
    Sometimes I visit earth
    Beans
    5,435
    Distro
    Ubuntu 12.04 Precise Pangolin

    Wink Re: Setting a program to run at startup as root

    Quote Originally Posted by holiday View Post
    You may be right. You are absolutely right that root is required to install an operating system, but it is possible to install applications to a user's home directory and only that user and root can execute that application.

    Root has access to everything, but there is no application that requires access to everything. An image viewer does not need access to your sound card - unless it's also a video player, in which case,yes, it needs access to the sound card.

    But it doesn't need access to everything.

    For good security you want to make sure that an application has access to only those resources that it needs. Determining that access can be a lot of work, but so is taking care of the backyard.
    And......that's the reason the folks behind Ubuntu have decided to not have the root login enabled by default and instead have us use "sudo" when we need such priviledges. Provides that one little extra layer of protection that stops someone from just always (or for that matter, ever) logging in as root and doing something they don't realize compromises the entire system - be it security, messing up of files/folders, etc..

    Dave

Page 2 of 2 FirstFirst 12

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
  •