1--- plugins/sudoers/sudoers.in.orig	2021-12-04 23:28:43 UTC
2+++ plugins/sudoers/sudoers.in
3@@ -32,6 +32,14 @@
4 ##
5 ## Defaults specification
6 ##
7+## Uncomment if needed to preserve environmental variables related to the
8+## FreeBSD pkg utility and fetch.
9+# Defaults     env_keep += "PKG_CACHEDIR PKG_DBDIR FTP_PASSIVE_MODE"
10+##
11+## Additionally uncomment if needed to preserve environmental variables
12+## related to portupgrade
13+# Defaults     env_keep += "PORTSDIR PORTS_INDEX PORTS_DBDIR PACKAGES PKGTOOLS_CONF"
14+##
15 ## You may wish to keep some of the following environment variables
16 ## when running commands via sudo.
17 ##
18@@ -91,6 +99,9 @@ root ALL=(ALL:ALL) ALL
19 ## of the user they are running the command as (root by default).
20 # Defaults targetpw  # Ask for the password of the target user
21 # ALL ALL=(ALL:ALL) ALL  # WARNING: only use this together with 'Defaults targetpw'
22+
23+## Uncomment to show on password prompt which users' password is being expected
24+# Defaults passprompt="%p's password:"
25
26 ## Read drop-in files from @sysconfdir@/sudoers.d
27 @includedir @sysconfdir@/sudoers.d
28