Results 1 to 7 of 7

Thread: how to stop asking for root password ?

  1. #1

    Default how to stop asking for root password ?

    hi

    how are you today?

    i know that's danger thing

    but its really annoying me for asking root password to do a lot of things.

    so how to grant my user root privileges?

    thanks

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,925
    Blog Entries
    14

    Default Re: how to stop asking for root password ?

    Quote Originally Posted by hossam_2009_2008 View Post
    hi

    how are you today?

    i know that's danger thing

    but its really annoying me for asking root password to do a lot of things.

    so how to grant my user root privileges?

    thanks
    I'm sorry, but I'm not going to provide instructions on how to bork your system and it's security. IMHO that is what you're trying. If I would, trouble would be coming your way, no doubt, and when posted here it would be out in the open.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,799

    Default Re: how to stop asking for root password ?

    Quote Originally Posted by hossam_2009_2008 View Post
    but its really annoying me for asking root password to do a lot of things.
    ????????? You only need (and thus should) user root for system managment things. Once your system is fit for usage that can't be too often. In my case it is about once or twice a week (doing software updates once a week and maybe another thing needed).

    On the systems I manage, 99% of the time they are available to the end-users (me included) for the work we have them for. What did you acquire the system for?
    Henk van Velden

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

    Default Re: how to stop asking for root password ?

    On 2013-12-16 12:56, hossam 2009 2008 wrote:
    >
    > hi
    >
    > how are you today?
    >
    > i know that's danger thing
    >
    > but its really annoying me for asking root password to do a lot of
    > things.
    >
    > so how to grant my user root privileges?


    That's not possible. However, you can configure sudo so that it asks for
    your user password for certain tasks, instead of the default non
    configured state it comes with.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

  5. #5

    Default Re: how to stop asking for root password ?

    Quote Originally Posted by robin_listas View Post
    On 2013-12-16 12:56, hossam 2009 2008 wrote:
    >
    > hi
    >
    > how are you today?
    >
    > i know that's danger thing
    >
    > but its really annoying me for asking root password to do a lot of
    > things.
    >
    > so how to grant my user root privileges?


    That's not possible. However, you can configure sudo so that it asks for
    your user password for certain tasks, instead of the default non
    configured state it comes with.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)
    I wondered this myself, can it be done via YaST as opposed to commandline and manually editing files?

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

    Default Re: how to stop asking for root password ?

    On 2013-12-16 14:26, MadmanRB wrote:

    > I wondered this myself, can it be done via YaST as opposed to
    > commandline and manually editing files?


    Not that I know... you are supposed to run "visudo" in a terminal, which
    calls an editor with the file opened, and verifies it is correct before
    accepting it. You can choose your preferred editor with the variable
    "EDITOR".

    Hum.

    I see there is in fact a sudo module in YaST. I don't remember having
    used it. It doesn't seem to add much to it, though... :-?

    Just try it and comment back ;-)

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

  7. #7
    Join Date
    Jun 2008
    Location
    Kansas City Area, Missouri, USA
    Posts
    7,236

    Default Re: how to stop asking for root password ?

    On 12/16/2013 07:38 AM, Carlos E. R. wrote:
    > On 2013-12-16 14:26, MadmanRB wrote:
    >
    >> I wondered this myself, can it be done via YaST as opposed to
    >> commandline and manually editing files?

    >
    > Not that I know... you are supposed to run "visudo" in a terminal, which
    > calls an editor with the file opened, and verifies it is correct before
    > accepting it. You can choose your preferred editor with the variable
    > "EDITOR".
    >
    > Hum.
    >
    > I see there is in fact a sudo module in YaST. I don't remember having
    > used it. It doesn't seem to add much to it, though... :-?


    YaST => Security and Users => Sudo works fine. I have added certain commands
    that are used frequently so that I do not need to supply the root password when
    using them; however, I am careful not to include anything that would give
    permanent root privilege. You should be careful as well.


Posting Permissions

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