Page 1 of 7 123 ... LastLast
Results 1 to 10 of 62

Thread: Root user login - warning

  1. #1
    Join Date
    Oct 2007
    Beans
    2

    Root user login - warning

    I have enabled root user and I am able to login as root user successfully.

    The thing, as I login as root user I get following warning message:

    This session is running as privileged user.

    How can I turn this message off?

    Hashaam

  2. #2
    Join Date
    Jun 2005
    Beans
    2,314

    Re: Root user login - warning

    Stop logging in as root. You should not be doing it - it poses a big security risk.

    Try to mentally separate the two roles of user and administrator. When you need to wear your admin hat (which will be often at first, but less often as you get things set up how you like them), you will probably want either a root command prompt or a root file manager. You can get these for as long as you need them like this:

    For root command prompt, open a command prompt and enter the command:
    sudo -i
    You may be asled for your password again. Now you have a root prompt where you can do your admin stuff, and then exit when you're done.

    For a root file manager, press Alt-F2 and enter the command:
    gksudo nautilus
    which gives you a root privileged file manager.

    These steps are not too onerous, and nt running as root protects your system from trojans, macros and (more likely) user errors.

    So you can become root when you need to, but don't be root all the time.

  3. #3
    Join Date
    Oct 2007
    Beans
    2

    Re: Root user login - warning

    I know it poses a security risk but I am sick of entering my password for any application I run and any command I execute at the terminal.

    So, any ideas how to disable the warning?

    Hashaam

  4. #4
    Join Date
    May 2007
    Beans
    147

    Re: Root user login - warning

    Most applications you run and most commands you enter don't require root. You won't have to enter your root password very often at all once your system is set up the way you want it. There's a million and one reasons to not run as root, laziness really can't make up for all of them.

  5. #5
    Join Date
    Jan 2007
    Location
    North Carolina, USA
    Beans
    540
    Distro
    Ubuntu

    Re: Root user login - warning

    ROFL-don't bother disabling the warning because you are going to break the OS in less than a week and have to reinstall anyway. Seriously, are you using that pc for webbrowsing and email and stuff? You are inviting disaster if you run those apps w/ root privileges. There are a number of apps and activities that (for better or worse) rely on the sandboxing of limited privileges in order to not hose your system.

    Sorry I don't know the answer to your question. good luck, I hope it goes well for you.

  6. #6
    Join Date
    Jul 2006
    Location
    Here
    Beans
    11,159

    Re: Root user login - warning

    Quote Originally Posted by hashaam83 View Post
    I have enabled root user and I am able to login as root user successfully.

    The thing, as I login as root user I get following warning message:

    This session is running as privileged user.

    How can I turn this message off?

    Hashaam
    try looking in the root folder files, most likely .bash_profile or .bashrc to see if it's running the message script, then just comment it out. if it's not being run from there then check the /usr/bin executable for the session. you might also try running top with the message still up to see the script name if any.
    Last edited by kerry_s; October 20th, 2007 at 11:06 AM.

  7. #7
    Join Date
    Apr 2006
    Location
    Oxfordshire UK
    Beans
    335
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Root user login - warning

    I guess as Ubuntu & Linux become more popular amongst ex-Windows users, we are going to get more of these kind of questions.

  8. #8
    Join Date
    Jul 2006
    Location
    Here
    Beans
    11,159

    Re: Root user login - warning

    Quote Originally Posted by Soarer View Post
    I guess as Ubuntu & Linux become more popular amongst ex-Windows users, we are going to get more of these kind of questions.
    it's no big deal, were not children here, we can decide what we want to do and live with what ever happens. we all have the right to choose.
    if you don't make the mistakes, you never learn from them.

  9. #9
    Join Date
    Oct 2007
    Beans
    2

    Re: Root user login - warning

    Fine.

    I have switched to normal user and stopped using root user session.

    Thanks

    Hashaam

  10. #10
    Join Date
    Oct 2004
    Location
    Denmark - Scandinavia
    Beans
    19,124
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Root user login - warning

    Kerry is right, they will learn. Computers that run root will be owned in matter of time.


    hashaam83: which aplications are you tired of typing in the password?
    | AMD Ryzen 1700x 3.4 GHz | ASUS PRIME X370-A | 32 GB 2400 Mhz DDR4 |
    | ASUS Nvidia 1070 8 GB | SSD 250 GB | HDD 1 TB |



    Try elementary OS - https://elementary.io

Page 1 of 7 123 ... 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
  •