Find the answer to your Linux question:

View Poll Results: Do you run your Linux box(es) as root user, or normal user?

Voters
22. You may not vote on this poll
  • root user

    1 4.55%
  • normal user

    21 95.45%
Page 4 of 4 FirstFirst 1 2 3 4
Results 31 to 34 of 34
Like Tree7Likes
Here's a nice but fairly brief HowTo for any new users that need the proper steps for gaining root privileges as they might need them: TipsAndTricks/BecomingRoot - CentOS Wiki It ...
  1. #31
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,082
    Here's a nice but fairly brief HowTo for any new users that need the proper steps for gaining root privileges as they might need them:

    TipsAndTricks/BecomingRoot - CentOS Wiki

    It was written for CentOS users, but should work with other distros as well.
    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. #32
    Just Joined!
    Join Date
    Nov 2009
    Location
    Sweden
    Posts
    31
    Quote Originally Posted by ozar View Post
    Hello, kohog

    Just because some of the replies here may infuriate you does not mean the people who submitted them were infuriated. You quoted me before making your comment, so I can only assume that you thought my comments were infuriated, but that was not the case at all.
    I didn't think you sounded infuriated, but there were others who started cursing and screaming TROLL, which seems a little infuriated to me. I guess I should have made it clear that I was talking about them.
    I quoted you because I wanted to point out that I agreed with all you said in all my previous posts.

    I still don't agree with those who said that logging in as root is always a bad idea and they still haven't been able to come up with a single example that makes sense. Lot's of nonsense, though...

    Quote Originally Posted by jayd512
    Quote Originally Posted by kohog
    I never said that running X/Nautilus/whatever as root is a good idea.
    No... not in so many words. You simply said that it doesn't matter, because it's the same thing.
    I said it doesn't matter whether you log in as root or use su; "su -c nautilus" does the same thing as starting nautilus when logged in as root. I never said that you should use nautilus at all, though - that was your brilliant idea. If you need GUI tools for everything, you should ask someone more knowledgeable for help with admin tasks, in my opinion.

    Quote Originally Posted by hazel
    Well, I voted no because it's not a thing I usually do. But that's because I usually work in GUI, and a sudo bash option gives me a root console when I want one.
    I avoid root terminals in X. Once when I had opened an xterm, X decided to dump the whole clip buffer into the window, as if I had pressed the middle button on the mouse. Just imagine what could have happened if it had been a root terminal and I had copied a bash script into the clip buffer.
    This example shows that you are not protected from buggy GUI programs when using su. Logged in as root on a console, you are always safe, though.

    Quote Originally Posted by hazel
    However, when I work in text mode (which I admit I seldom do nowadays), I log in as myself on console 2 (maybe on 3 as well) and then if I need to do some things as root, I log in as root on console 1.
    This is what I do, too. There is absolutely no reason to first log in as a regular user on console 1 and then use su.
    If I need X for some reason, I would of course start it from console 2, not the root console.

  3. #33
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,142
    Quote Originally Posted by kohog View Post
    I didn't think you sounded infuriated, but there were others who started cursing and screaming TROLL, which seems a little infuriated to me. I guess I should have made it clear that I was talking about them.
    I quoted you because I wanted to point out that I agreed with all you said in all my previous posts.

    I still don't agree with those who said that logging in as root is always a bad idea and they still haven't been able to come up with a single example that makes sense. Lot's of nonsense, though...


    I said it doesn't matter whether you log in as root or use su; "su -c nautilus" does the same thing as starting nautilus when logged in as root. I never said that you should use nautilus at all, though - that was your brilliant idea. If you need GUI tools for everything, you should ask someone more knowledgeable for help with admin tasks, in my opinion.


    I avoid root terminals in X. Once when I had opened an xterm, X decided to dump the whole clip buffer into the window, as if I had pressed the middle button on the mouse. Just imagine what could have happened if it had been a root terminal and I had copied a bash script into the clip buffer.
    This example shows that you are not protected from buggy GUI programs when using su. Logged in as root on a console, you are always safe, though.


    This is what I do, too. There is absolutely no reason to first log in as a regular user on console 1 and then use su.
    If I need X for some reason, I would of course start it from console 2, not the root console.

    And the truth shall set you free!
    I think we're all talking about the same thing here and no you didn't infuriate me, more like exasperated me because I thought you were telling people it's okay to log into the Desktop as root...which is stupid. I guess I could have made myself more clear in my first post so I'll do that now. Logging in to the Desktop or X as root is a bad idea and it will cause your teeth to fall out and you will become Impotent.

    started cursing and screaming TROLL
    LOL classic, I said "h3ll" and that means I'm cursing,,oh noes!
    I also said "Trolling, if you will"
    So, how should I type this out so it doesn't sound like I'm "screaming"?
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  4. #34
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,072
    To be honest, I thought you meant the same thing.
    Which, I think, is where all the confusion came from!
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

Page 4 of 4 FirstFirst 1 2 3 4

Posting Permissions

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