Re: sudoers question
On 5/12/23, Stefan Monnier wrote:
>> Or configure sudo to disable tty_tickets, so that the timeout (10
>> minutes by default IIRC) applies to all terminals.
>
> `sudo bash` anyone?
me! me! but I also have
# cat /etc/sudoers.d/adm-grp-privs
# members of adm can run certain commands as root without supplying
# a password
# Andrei POPESCU<andreimpopescu@gmail.com> Sun, Dec 5, 2021 at 10:46 AM
# To: debian-user@lists.debian.org
# Re: Don't try this at home kids
Cmnd_Alias ADM_COMMANDS = /usr/bin/dmesg, \
/usr/bin/apt list, \
/usr/bin/apt update, \
/usr/sbin/checkrestart, \
/usr/sbin/needrestart, \
/usr/sbin/reboot
%adm ALL = (root) NOPASSWD: ADM_COMMANDS
Regards
Lee
Reply to: