5 ms·
Name any commonly used Linux executable that deletes the server root when run without any arguments, with no confirmation or warning. It's a little unexpected.
by pak 17y ago
Name any commonly used Linux executable that deletes the server root when run without any arguments, with no confirmation or warning.
It's a little unexpected.
Even after reading the script, you may not catch the fact that not setting the right environment variable causes massive damage--it's not documented anywhere.
- duskwuff 17y agoThis isn't on Linux, granted, but killall will ignore its arguments and kill ALL accessible processes on a number of other UNIX-like OSes (such as Solaris).
- viraptor 17y agoI'd consider the name killall to be both an explanation and a warning. But yeah - I made that mistake once on Solaris. That's why you should never have applications like that. Even shutdown needs some option for scheduling when it should work.
- TallGuyShort 17y agoEven then - neither killall or shutdown is as serious as deleting the root partition. It's the difference between a reboot and a complete reinstall/restore from backup.
- gcr 17y agoMaybe cat, if invoked the right way. Just tack a >/dev/sda on the end and you're good to go. ;)
- deleted 17y ago[deleted]