Compare commits

...

5 Commits

Author SHA1 Message Date
a0419bda15
sudoers.d/password-feedback: fix the syntax error of missing capital D
Apparently it was my fault and not Fedora and Arch not shipping that module (like Fedora is missing insults, while that suspiciously isn't treated as a syntax error
2024-08-12 15:27:59 +03:00
7d548e20e6
sudoers.d: add modelines, remove prettier comment 2024-08-12 15:22:44 +03:00
060b48d9eb
sudoers.d/sudoers-group: I am looking at you not including this, Arch 2024-08-12 15:22:23 +03:00
9ef3faffaf
sudoers.d: add always-ask-password & password-feedback 2024-08-12 15:06:50 +03:00
61b9fb9e6a
etc/yum.repos.d: add dangerzone.repo 2024-08-12 14:56:59 +03:00
5 changed files with 31 additions and 2 deletions

View File

@ -1,4 +1,2 @@
<!-- @format -->
The names may not contain a dot, the RHEL sudo is wheel (not to be confused
with Debian's passwordless sudo) and the proper permissions are 0400.

View File

@ -0,0 +1,5 @@
# Inspired from Tails. This may break the expectation of "sudo mode", but
# saves me from constantly entering "sudo -k"
Defaults timestamp_timeout=0
# vim: filetype=sudoers

View File

@ -0,0 +1,5 @@
# Tails has this and I suspect it may be less confusing for less technical
# people around.
Defaults pwfeedback
# vim: filetype=sudoers

View File

@ -0,0 +1,12 @@
# The usual wheel or sudoers group for weird systems missing it.
# Uncomment for Debian
#%sudoers ALL=(ALL:ALL) ALL
# Uncomment for everything else
#%wheel ALL=(ALL:ALL) ALL
# WARNING: DANGEROUS AND INSECURE! DON'T UNCOMMENT!
#%sudoers ALL=(ALL:ALL) NOPASSWD: ALL
#%wheel ALL=(ALL:ALL) NOPASSWD: ALL
# vim: filetype=sudoers

View File

@ -0,0 +1,9 @@
# https://github.com/freedomofpress/dangerzone/blob/main/INSTALL.md#fedora
[dangerzone]
name = Dangerzone repository
baseurl = https://packages.freedom.press/yum-tools-prod/dangerzone/f$releasever
gpgkey = https://packages.freedom.press/yum-tools-prod/fpf-yum-tools-archive-keyring.gpg
gpgcheck = 1
repo_gpgcheck = 0
enabled=1