Results 1 to 6 of 6

Thread: Root password requested

  1. #1

    Default Root password requested

    I am posting here since I am not sure where else to post.
    When I open certain applications, YaST for example, I am asked for the root password. Any way to cancel that?
    I don't want to be asked the password every time after I already logged in.

  2. #2
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Root password requested

    On 04/04/2013 05:36 PM, zelivans wrote:
    >
    > I am posting here since I am not sure where else to post.
    > When I open certain applications, YaST for example, I am asked for the
    > root password. Any way to cancel that?
    > I don't want to be asked the password every time after I already logged
    > in.


    yours is a fairly common question posed by folks very new to
    Linux...so, _-=WELCOME=-_ new user

    now to your question: no, it is not really easy to do away with
    providing the root password AND maintain the extra security and
    stability which comes from having a multi-user system where the user
    and the administrator have different access rights..

    and, while you may believe me now, you really do want to keep those
    two different functions separate..

    if you are finding a need to use YaST often, then give your root
    password the first time it is asked and then instead of shutting down
    that first YaST window which opens (YaST Control Center), just drop
    it down out of sight...and then next time you need YaST just bring it
    back into focus--no password required..

    that way you have some security, without needing to give the root
    pass every time you need YaST . . .

    by the way, when you log in there are already TWO (at least) users on
    your system: yourself, and root....and, to "become root" and do the
    administrator's duties you need to give the password to 'prove' to
    the system's internals that you are authorized to do whatever it is
    you wanna do..

    --
    dd
    http://tinyurl.com/DD-Caveat

  3. #3
    Join Date
    Jun 2008
    Location
    Delta Quadrant
    Posts
    1,443

    Default Re: Root password requested

    > I don't want to be asked the password every time after I already logged
    > in.


    You really do. You just need to train your brain to think that way.
    It's sort of like being glad that the cashier checked your ID before
    processing your credit card. A little annoying, but at least if your card
    is stolen they wouldn't get past the cashier. Fortunately computers
    are much more rigorous than cashiers. I think cashiers check for ID about
    1 in 20 times, which of course is great for passing stolen cards.

    You know who you are, but the person processing the transaction doesn't.
    In this case the computer is 'just checking'. It's good design.




  4. #4
    Join Date
    May 2010
    Location
    Space Colony Lagrange Point 22° à, 77° Ƅ, 56° ɤ, 99° ɜ
    Posts
    3,166

    Default Re: Root password requested

    Quote Originally Posted by zelivans View Post
    I am posting here since I am not sure where else to post.
    When I open certain applications, YaST for example, I am asked for the root password. Any way to cancel that?
    I don't want to be asked the password every time after I already logged in.
    Imagine someone walked over and un-installed kdm or gdm, then you will be left with a broken system. You can un-install OS components unlike some other OSes. Hence we have a layer of security around the installer. They have gone one step further and in GNOME3.X you cannot delete files by pressing delete key alone in Nautilus(File Manager).
    GNOME Version 3.20.2
    openSUSE Leap 42.3 64-bit

    www.vazhavandan.blogspot.com

  5. #5
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Root password requested

    On 2013-04-04 17:36, zelivans wrote:
    > When I open certain applications, YaST for example, I am asked for the
    > root password. Any way to cancel that?


    No, fortunately.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.1 x86_64 "Asparagus" at Telcontar)

  6. #6
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,103

    Default Re: Root password requested

    On Thu, 04 Apr 2013 15:36:03 +0000, zelivans wrote:

    > When I open certain applications, YaST for example, I am asked for the
    > root password. Any way to cancel that?


    Arguably, yes, it is possible (Linux is open source and a system could be
    modified to remove that requirement - though it might require modifying
    the source of security components in the system) - but it's a very, very,
    VERY bad idea. You might just as well login to the GUI as root (which
    itself can cause serious issues with the system).

    Do some reading on something called the "Principle of Least
    Privilege" (http://en.wikipedia.org/wiki/Princip...east_privilege is
    a good starting point) to understand why this is considered a very bad
    practice - and why using only the minimum rights necessary to do the task
    you're doing is considered a best practice.

    Jim
    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Posting Permissions

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