From owner-svn-ports-head@freebsd.org Thu Apr 19 13:09:59 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EA548FA432B; Thu, 19 Apr 2018 13:09:58 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 98D7472D53; Thu, 19 Apr 2018 13:09:58 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 93C841F1D; Thu, 19 Apr 2018 13:09:58 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w3JD9wZI087269; Thu, 19 Apr 2018 13:09:58 GMT (envelope-from garga@FreeBSD.org) Received: (from garga@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w3JD9wFv087268; Thu, 19 Apr 2018 13:09:58 GMT (envelope-from garga@FreeBSD.org) Message-Id: <201804191309.w3JD9wFv087268@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: garga set sender to garga@FreeBSD.org using -f From: Renato Botelho Date: Thu, 19 Apr 2018 13:09:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r467767 - head/security/sudo/files X-SVN-Group: ports-head X-SVN-Commit-Author: garga X-SVN-Commit-Paths: head/security/sudo/files X-SVN-Commit-Revision: 467767 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2018 13:09:59 -0000 Author: garga Date: Thu Apr 19 13:09:58 2018 New Revision: 467767 URL: https://svnweb.freebsd.org/changeset/ports/467767 Log: Add an example of prompt that shows which user password is being expected. It's useful when targetpw option is set to avoid confusion. PORTREVISION was not bumped because a new commit is going to happen soon with one more change and it will bump it. PR: 221264 Submitted by: Rebecca Cran Sponsored by: Rubicon Communications, LLC (Netgate) Modified: head/security/sudo/files/patch-plugins__sudoers__sudoers.in Modified: head/security/sudo/files/patch-plugins__sudoers__sudoers.in ============================================================================== --- head/security/sudo/files/patch-plugins__sudoers__sudoers.in Thu Apr 19 12:52:13 2018 (r467766) +++ head/security/sudo/files/patch-plugins__sudoers__sudoers.in Thu Apr 19 13:09:58 2018 (r467767) @@ -1,4 +1,4 @@ ---- plugins/sudoers/sudoers.in.orig 2017-01-14 04:30:15 UTC +--- plugins/sudoers/sudoers.in.orig 2018-01-15 17:30:32 UTC +++ plugins/sudoers/sudoers.in @@ -32,6 +32,14 @@ ## @@ -15,3 +15,13 @@ ## You may wish to keep some of the following environment variables ## when running commands via sudo. ## +@@ -91,6 +99,9 @@ root ALL=(ALL) ALL + ## of the user they are running the command as (root by default). + # Defaults targetpw # Ask for the password of the target user + # ALL ALL=(ALL) ALL # WARNING: only use this together with 'Defaults targetpw' ++ ++## Uncomment to show on password prompt which users' password is being expected ++# Defaults passprompt="%p's password:" + + ## Read drop-in files from @sysconfdir@/sudoers.d + ## (the '#' here does not indicate a comment)