πsudo policies
Begining with this section, we will create a file in /etc/sudoerd.d/ . The file will serve the purpouse of storing our sudo policy.
touch /etc/sudoers.d/sudo_config


Last updated
Begining with this section, we will create a file in /etc/sudoerd.d/ . The file will serve the purpouse of storing our sudo policy.
touch /etc/sudoers.d/sudo_config


Last updated
mkdir /var/log/sudonano /etc/sudoers.d/sudo_configDefaults passwd_tries=3
Defaults badpass_message="Mensaje de error personalizado"
Defaults logfile="/var/log/sudo/sudo_config"
Defaults log_input, log_output
Defaults iolog_dir="/var/log/sudo"
Defaults requiretty
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"