Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: XChat and using Root? Bad idea? Why....

  1. #1
    Join Date
    Jan 2008
    Beans
    735
    Distro
    Ubuntu 10.04 Lucid Lynx

    XChat and using Root? Bad idea? Why....

    Hi 2 things -

    I am always set to root (yes yes yes I know...bad idea but I like it that way). Is it an issue to use XChat in my suspended state of ROOT? And why?

    And the second thing - this post brings me to 700 beans!

  2. #2
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: XChat and using Root? Bad idea? Why....

    It is a bad idea to run any program as root.

    Whenever there is a vulnerability discovered in an application, then an attacker could take over that application and use it to do things to your computer. If the application is running under a standard user account then it doesn't have access to the entire machine, only your user files so it is restricted in what damage it can do.

    If you are running an application as a root user then any software vulnerability could allow an attacker to take complete control over your machine, including changing system files and installing software such as trojans and keyloggers to your machine.

    The only programs that should be run as root are programs that have to be run this way for your machine to be able to function properly, running any other application as the root user is an unnecessary security risk.
    Last edited by Cheesemill; May 29th, 2012 at 03:07 AM.
    Cheesemill

  3. #3
    Join Date
    Sep 2009
    Beans
    8,874
    Distro
    Ubuntu Development Release

    Re: XChat and using Root? Bad idea? Why....

    Running as a root user in a OS not designed to run in root is a bad idea.

    On the IRC you are open for being rooted by another as well this applies on the web.





  4. #4
    Join Date
    Feb 2010
    Location
    Land of Confusion
    Beans
    8,345
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: XChat and using Root? Bad idea? Why....

    Moved to Security Discussions.

    Why run as root? To me, that is like leaving my car unlocked in the driveway with the keys in it.
    Thank you for your contributions. "So long and thanks for the fish!"

  5. #5
    Join Date
    Mar 2011
    Beans
    680

    Re: XChat and using Root? Bad idea? Why....

    Running root offers 0 benefits. You don't get some speed boost, you don't get anything. What you get is an application that can access files it doesn't need.

    Is xchat even updated any more? I didn't think so. Regardless of that it's an internet facing program and therefor it is entirely open to attack.

    Let's say a hacker attacks me running Xchat on a default Ubuntu install (ie: not root) they've got access to a ton of stuff. My entire home directory is theirs.

    Imagine they've attacked you running Xchat while running it as root. They have access to everything and there's a lot less you can do to stop them. They get my home directory, access to my programs, to my log files, to every single thing on my system.

    tl;dr there's literally no benefit to running as root and only serious security downsides. It's your computer and in the spirit of all things Linux I'll say that you can run it however you like, but understand what you're doing.

  6. #6
    Join Date
    Feb 2011
    Beans
    491
    Distro
    Ubuntu

    Re: XChat and using Root? Bad idea? Why....

    If you don't want to type your password in the terminal all the time, you can use:
    Code:
    sudo -i
    And you could also do: ALT-F2 and "gksudo nautilus" if you want to do things to your system folders... But enabling root sounds like a baaaad idea.

  7. #7
    Join Date
    Sep 2010
    Beans
    898

    Re: XChat and using Root? Bad idea? Why....

    If you insist on running as root, which as others have pointed out is not a good idea, you could reduce the risks by using sudo to run applications such as xchat as a normal user, for example:

    Code:
    sudo -u listerdl xchat

  8. #8
    Join Date
    Apr 2012
    Location
    Detroit, MI USA
    Beans
    50
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: XChat and using Root? Bad idea? Why....

    I'm unsure why you would want to run as root anyways. Root is disabled by default for a reason.
    Jon Edney
    Follower of Christ, Husband, Dad, Aspiring Linux & Web Developer
    @TheJonEdney | jonedney.com | Ubuntu Wiki
    JonEdney on Freenode in #UbuntuForums

  9. #9
    Join Date
    Sep 2009
    Location
    California U.S.A.
    Beans
    398

    Re: XChat and using Root? Bad idea? Why....

    Quote Originally Posted by Hungry Man View Post
    What you get is an application that can access files it doesn't need.
    I could not have put this better if I tried. This is ultimately the answer to your question. If you think you need to run as root for whatever reason (I have no idea) then you should at least be running your programs as a regular user.

    Since you are probably going to keep running as root just keep this in mind: Just like you can run applications as sudo to run them as root you can also use sudo / su to run an application as a user you create. Basically this would be the oppposite of how the system is set up for you by default but it is a precaution you should take at the very least.

  10. #10
    Join Date
    Jan 2008
    Beans
    735
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: XChat and using Root? Bad idea? Why....

    Update from OP = Im going to un-root

    Thanks

Page 1 of 2 12 LastLast

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
  •