Find the answer to your Linux question:
Results 1 to 10 of 10
It seems to me that we are seeing more and more cases of new users to Linux thinking that they just have to run Linux from the root account. As ...
  1. #1
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,082

    new user = root user = BAD!

    It seems to me that we are seeing more and more cases of new users to Linux thinking that they just have to run Linux from the root account. As much as we preach against this terrible habit here on the forums, you'd think that we'd be seeing less of it happening. In addition, they don't bother to tell you that they are running from the root account, so when you try to offer help, it confuses things a bit.

    Do any of you know what it is that compels new users to think that they must run Linux as the root user?
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  2. #2
    Linux Enthusiast
    Join Date
    Jun 2005
    Location
    The Hot Humid South
    Posts
    602
    Because running as root user allows them to just do things without having to log in as root all the time!

    This is the same reason why people run as Administrator on Windows XP.

    Most modern distros (the ones I use anyway) disable running X as root user, or just disable root. Debian disables running X as root if you use GDM and Ubuntu disables root all together (but I don't like the whole sudo thing).
    "Today you are freer than ever to do what you want, provided you can pay for it!" --Bad Religion

  3. #3
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,082
    I remember years ago, Mandrake (when it was still called that) used to make the GUI desktop background for the root account a very bright red that was almost unbearable to look at, so that you immediately knew you were logged in some place where you shouldn't be.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  4. #4
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,340
    I think the mentality of running as root/admin all the time comes from Windows. This is probably one of the main reasons behind Windows poor security record. Unfortunately many newbs don't try to learn about the Unix security model and adjust to it. Instead they try to work in Linux/Unix as if they were on Windows. I think eventually many people learn not to login as root/admin unless its necessary, when they execute a command that can leave them with a broken OS or they lose their important data.

  5. #5
    Linux Newbie sdimhoff's Avatar
    Join Date
    Jan 2007
    Posts
    191
    I think bidi hit the nail on the head, no permissions problems, no su'ing, ignorance is bliss. When I first became an avid linux user it took repeated warnings from a friend before I realized that running as root was a bad thing. It is one of those things that you need to be told otherwise you may not realize it.

    I for one am not fond of outright disabling x for root or using sudo, but each distribution/user has their reasons for the precautions they take.
    Linux since: 2001
    Gentoo since: 2004
    - - - - - - - -
    Translation:
    I fix things until they break.

  6. #6
    Linux Enthusiast minthaka's Avatar
    Join Date
    May 2006
    Location
    Mol, Vojvodina
    Posts
    556
    Well, I can understand those, who likes to run the distro as root users. It's sometimes really bothering and boring I have to type in my password, especially in cases when you're the only one using your system, which is not connected to the internet. I've turned at least 10 persons into Linux users, but I must admit that it isn't quite comfortable for a new user to use terminal, cos in fact you cannot evade the command line. Of course, security has priority, so I'm obeying to the system-rules.
    If you need a CD/DVD catalogizer, give a try to my program:
    http://www.kde-apps.org/content/show...content=100682
    Linux Usert#430188

  7. #7
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,284
    It's definitely a Windows hangover, but what else can you expect?

    More people who don't really understand Operating Systems and
    security are starting to move over from Windows to Linux. This
    means they are going to work in the way they are used to.

    Who can really blame them, after all Linux is more secure.
    Right? Well yes but only when you don't run everything as root.

    On another note, I used to hate sudo, but have grown to love it.
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

  8. #8
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    I have convinced several people to switch over the years and it's usually a balance between the better security and 'killer apps' such as Amarok. People whose systems have been repeatedly infested are more open to the idea of seperating root from users when it is demonstrated and explained. The Ubuntu approach seems easier to accept as it is just asking for their password so the idea of a seperate root user is not constantly reenforced.

    On the other hand people I have known that tried to switch but eventually wimped out were all people that persisted in logging in as root. It may be a mentality thing too. Often times people confuse power-user experience with Windows with knowing all things about computers. These are the same people that kick and scream when something doesn't work the same way as Windows.

  9. #9
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    2,940
    People are after the short term, positive outcome. If you run as root you only need to login once. You don't get asked to re-enter your password or get confusing messages about needing to login as something else. If you don't know or see the bad things that can happen ... whats the problem ?

    If you want new users to stop using root its simple ... just make them enter the root password when starting every new command at CLI, starting each application in a GUI and every time you save or open a file in an application. That way normal user login is easier than root user login.

  10. #10
    Linux Enthusiast cousinlucky's Avatar
    Join Date
    Dec 2005
    Location
    New York City
    Posts
    575
    Funny, I have to twist my own arms to log in as root or go into the Yast of my suse 10 os. I always have the feeling that I am going to do something wrong in there.

    As a matter of fact I have really messed up my filing ststem in there not long ago.

Posting Permissions

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