Results 1 to 8 of 8

Thread: yast ask for password

  1. #1

    Default yast ask for password

    I tried put my user in the sudores file to avoid yast to ask for password every time i open it.. but no luck. I am using 11.1 with gnome.

    any tip ?
    best

  2. #2
    ab@novell.com NNTP User

    Default Re: yast ask for password

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

    Simply putting your user in the /etc/sudoers file doesn't mean you won't
    get prompted for a password. In order to avoid a password prompt you
    also must tell sudo (in the same sudoers file) that you don't want to be
    prompted for a password. There is an example (commented out) in the
    default /etc/sudoers file to let this work for the 'wheel' group members:

    <quote source="/etc/sudoers" os="SLED 10 SP2 x86_64">
    # Same thing without a password
    # %wheel ALL=(ALL) NOPASSWD: ALL
    </quote>

    Notice that it says everybody in the wheel group can run anything
    anywhere and they can do it with no password prompt. Personally, as
    seldom as you should be needing to use sudo in day-to-day stuff, I don't
    think this option is necessary. You can also tell sudo to prompt for
    your own user's password instead of the 'root' user's password which I
    do recommend so casual passers-by don't suddenly start running sudo
    nuking your system, and so you have a second to consider if the command
    you are running is really necessary and setup properly with 'root'
    privileges.

    Good luck.





    zilli daniel wrote:
    > I tried put my user in the sudores file to avoid yast to ask for
    > password every time i open it.. but no luck. I am using 11.1 with gnome.
    >
    >
    > any tip ?
    > best
    >
    >

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.2 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFJTnhq3s42bA80+9kRAp26AJ95QxPbTsRujT39n8x5KnULsA726wCaA9VG
    nXJHHQhbTSPR+9q+xjnW7QE=
    =Shjm
    -----END PGP SIGNATURE-----

  3. #3

    Default Re: yast ask for password

    thank you for your explanation but didn't work. In this link
    i have the solution for KDE, but not to GNOME.

    Default kdesu to use sudo and not su | Ben Kevan's Blog

    :-(

  4. #4
    Join Date
    Jul 2008
    Location
    ukraine/mk/pervomaysk
    Posts
    528

    Default Re: yast ask for password

    @Mon, 22 Dec 2008 01:16:02 +0000, zilli daniel write:

    > thank you for your explanation but didn't work. In this link i have the
    > solution for KDE, but not to GNOME.
    >
    > 'Default kdesu to use sudo and not su | Ben Kevan's Blog'
    > (http://www.benkevan.com/blog/default...do-and-not-su/)
    >
    > :-(


    I did not understand why you have a problem with this... I have sudo with no pass working good...

    open yast2 now(/sbin/yast2) alt+F2
    Security&Users>Sudo

    window appear

    press add

    new window appear

    Users, Group - %UserNamethatRunSudo
    Host- ALL
    RunAs-ALL
    click in box with no password

    Add command(button) - put "ALL" in upper field

    PS
    is this what you want?
    --
    WBR

  5. #5
    Join Date
    Jun 2008
    Location
    Stuttgart, Germany
    Posts
    21

    Default Re: yast ask for password

    I think he wants the same as when logged in as root.
    no password prompts to bug you.
    correct me if I am wrong.
    you might as well log in as root
    danger! brain at work... what brain?

  6. #6
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,369

    Default Re: yast ask for password

    Log in as root ?!?!?!?
    Henk van Velden

  7. #7

    Default Re: yast ask for password

    dillj is right...

    just look this link
    Default kdesu to use sudo and not su | Ben Kevan's Blog

    and you will know what i am talking...

  8. #8

    Default Re: yast ask for password

    the password is
    root

Posting Permissions

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