root (or sudo) access delay instead of password
Fear grips migrant families on both sides of the California-Mexico border over Trump deportations
Amsterdam police arrest over 100 pro-Palestine demonstrators for defying protest ban
In a first, US independent turnout tops Democrats, ties Republicans, Edison Research says
At least 46 Palestinians were killed by Israeli military strikes across the Gaza Strip on Thursday, mostly in the north where one attack hit a hospital
"The sins of the 90s": Questioning a puzzling claim by Meredith Whittaker about mass surveillance
tension on kernel mailing lists continues to grow as a Linux Foundation board member finally replies with a "summary of the legal advice the kernel is operating under" re: enforcing US sanctions
China’s infosec leads accuse Intel of NSA backdoor, cite chip security flaws
The Disappearance of an Internet Domain (about .io, and about the history of .su and .yu)
Parliamentary Assembly of the Council of Europe recognises Julian Assange as a ‘political prisoner’ and warns against the chilling effect of his harsh treatment
sure. first, configure sudo to be passwordless, or perhaps just to stay unlocked for longer (it's easy to find instructions for how to do that).
then, put this in your
~/.bashrc
:alias sudo='echo -n "are you sure? "; for i in $(seq 5); do echo -n "$((6 - $i)) "; sleep 1; done && echo && /usr/bin/sudo '
Now "sudo" will give you a 5 second countdown (during which you can hit ctrl-c if you change your mind) before running whatever command you ask it to.