Results 1 to 3 of 3

Thread: How to solve annoying problem with sudoers in openSUSE 11.0

  1. #1
    Join Date
    Jun 2008
    Location
    Slovakia
    Posts
    25

    Default How to solve annoying problem with sudoers in openSUSE 11.0

    Hi all
    Now openSUSE 11.0 uses su instead sudo. So, how to solve tiresome questions about roots privileges?
    In openSUSE 10.3 it was possible to solve with editing /etc/sudoers
    Im tired of entering the root password every time if i want to install or configure something, if i want to start YaST, or when i simply want a rootshell.
    Any tip?Is any way how to solve it?

    Thanks.

  2. #2
    ab@novell.com NNTP User

    Default Re: How to solve annoying problem with sudoers in openSUSE 11.0

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    'sudo' and 'su' are both installed in all versions of SUSE by default.
    'sudo' should work just fine as it always has as far as I know. As they
    are different utilities they are made to serve different purposes.... su
    is made to switch accounts... sudo is made to run things as root
    (typically). From the GUI you may want to try 'gnomesu' or 'kdesu' as
    perhaps they will help with the password remembering, but as long as
    you're in the same environment with multiple invocations of the 'sudo'
    command I would expect it to work. Have you setup your sudoers file to
    let you use sudo in the way you expect?

    Good luck.





    ra100 wrote:
    | Hi all
    | Now openSUSE 11.0 uses su instead sudo. So, how to solve tiresome
    | questions about roots privileges?
    | In openSUSE 10.3 it was possible to solve with editing /etc/sudoers
    | Im tired of entering the root password every time if i want to install
    | or configure something, if i want to start YaST, or when i simply want a
    | rootshell.
    | Any tip?Is any way how to solve it?
    |
    | Thanks.
    |
    |
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.2 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFIckTg3s42bA80+9kRApvBAJwO6CBQ2KEW6361lU4CeoT48mkKnwCeJ5KC
    Pi0ocrUr2NbrmJvZQX2zInY=
    =SpWF
    -----END PGP SIGNATURE-----

  3. #3

    Default Re: How to solve annoying problem with sudoers in openSUSE 1

    Hi,

    I'm new to Linux and all, but I seem to have no big problem with that. YaST->Security and Users->Sudo, select root, tick box on [No Password], this removes password query on YaST for example. If you want to use sudo with no password in same YaST Sudo add your user name, ALL ALL ALL & commands Add... ALL, also [x] No Password, this should allow you to use sudo without entering your password (well it's not very safe using those root and sudo with no password). Still, kdesu asks you for root password anyway, some GUI programs launched with sudo returns "Could not connect to X server" or something like that, so I still have to use kdesu and enter root password.

    Hope this will help.

Posting Permissions

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