Results 1 to 3 of 3

Thread: su asks for password

Threaded View

  1. #1

    su asks for password

    SLES 10 SP3 - cannot get su to stop asking for password. Have to enter root password.

    Below is a snippet of /etc/sudoers, which seems to work on another box. Thanks for any assistance

    *****************
    # In the default (unconfigured) configuration, sudo asks for the root password.
    # This allows use of an ordinary user account for administration of a freshly
    # installed system. When configuring sudo, delete the two
    # following lines:
    #Defaults targetpw # ask for the password of the target user i.e. root
    #ALL ALL=(ALL) ALL # WARNING! Only use this together with 'Defaults targetpw'!

    # Runas alias specification

    # User privilege specification
    root ALL=(ALL) ALL
    local-user ALL=(ALL) NOPASSWD: ALL
    *******************

    Having NOPASSWD: in or out does not seem to matter.


    joe a.
    Last edited by joea; 10-May-2012 at 16:28.

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
  •