What | Removed | Added |
---|---|---|
CC | monkeyboyted@yahoo.com |
Created attachment 862672 [details]
zypper update log
--- /.snapshots/422/snapshot/etc/sudoers 2022-10-28 11:39:29.000000000 -0700
+++ /.snapshots/423/snapshot/etc/sudoers 2022-11-03 11:27:59.000000000 -0700
@@ -62,13 +62,6 @@
# Defaults!REBOOT !log_output
# Defaults maxseq = 1000
-## 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
##
@@ -84,5 +77,10 @@
## Same thing without a password
# %wheel ALL=(ALL:ALL) NOPASSWD: ALL
+## Uncomment to allow any user to run sudo if they know the password
+## 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) ALL # WARNING: only use this together with 'Defaults
targetpw'
+
## Read drop-in files from /etc/sudoers.d
@includedir /etc/sudoers.d
/etc/sudoers
I took a look in my btrfs snapper snapshot and one package modifies the sudoers
file.
I attached an update log for today.