Re:Shellfirm: Intercept risky patterns at the command line
by lamontcg on Sunday July 31, 2022 @09:33AM
(#32295370)
This is the same logic as "sudo forces people to think about what they're typing", which it doesn't, it just makes you type sudo and your password really quickly and equally mindlessly.
[ Parent
| on HN ]
Re:Shellfirm: Intercept risky patterns at the command line
by iso1631 on Sunday July 31, 2022 @10:45AM
(#32295848)
sudo sticks what you're doing in your auth.log file which is fired off to your syslog server, so you've got a chance of knowing how you messed up, or who else messed up
Re:Shellfirm: Intercept risky patterns at the command line
by lamontcg on Sunday July 31, 2022 @07:51PM
(#32300063)
we solved that at amazon by patching bash and tcsh to send logs to syslog (honeypot patches).
Re:Shellfirm: Intercept risky patterns at the command line
by Kaze404 on Sunday July 31, 2022 @02:18PM
(#32297441)
It does once you get past using sudo as second attempt at running a command that failed for a reason you don't understand.
Re:Shellfirm: Intercept risky patterns at the command line
by lamontcg on Sunday July 31, 2022 @07:52PM
(#32300071)
No it really doesn't, you just get quick at typing "sudo shutdown -r now" and typing your password quick and when do that it on prod it is just as mindless as "shutdown -r now". You can't make people think via extra steps.