mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-01 15:59:22 +01:00
Compare commits
5 Commits
731e8c74a9
...
a0419bda15
Author | SHA1 | Date | |
---|---|---|---|
a0419bda15 | |||
7d548e20e6 | |||
060b48d9eb | |||
9ef3faffaf | |||
61b9fb9e6a |
@ -1,4 +1,2 @@
|
|||||||
<!-- @format -->
|
|
||||||
|
|
||||||
The names may not contain a dot, the RHEL sudo is wheel (not to be confused
|
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.
|
with Debian's passwordless sudo) and the proper permissions are 0400.
|
||||||
|
5
etc/sudoers.d/always-ask-password
Normal file
5
etc/sudoers.d/always-ask-password
Normal 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
|
5
etc/sudoers.d/password-feedback
Normal file
5
etc/sudoers.d/password-feedback
Normal 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
|
12
etc/sudoers.d/sudoers-group
Normal file
12
etc/sudoers.d/sudoers-group
Normal 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
|
9
etc/yum.repos.d/dangerzone.repo
Normal file
9
etc/yum.repos.d/dangerzone.repo
Normal 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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user