Re:Migrate from Linux to FreeBSD
by Beltalowda on Monday November 07, 2022 @09:41AM
(#33506334)
It's not like you need to use sudo on Linux. And sudo has been maintained by an OpenBSD developer since the early 90s.
Aside from what the problems and benefits of sudo may or may not be, bringing up sudo in a "BSD vs. Linux" debate is a red herring: it's just completely unrelated.
Note that OpenBSD now uses the much smaller doas instead.
Re:Migrate from Linux to FreeBSD
by michaelmrose on Monday November 07, 2022 @11:11AM
(#33507713)
Which you can use on Linux however it's missing sudo -e and emacs tramp doesn't work with it.
Sudo -e FILE opens a copy of the file with $EDITOR and then moves copy to replace FILE
Tramp opens a file including present buffer and writes it as root to achieve the same effect.
EDIT Tramp now works correctly for me sudo -e is simple enough to script looks like a winner for simple things when complex isn't required
Re:Migrate from Linux to FreeBSD
by Beltalowda on Monday November 07, 2022 @12:14PM
(#33508777)
Yes, but it's still a red herring when discussing the advantages of FreeBSD (or OpenBSD, for that matter) over Linux.
And yet just a few days ago there was a thread about sudo's recent heap-overflow issue, where the top comment's first line is:
> Sudo must be the program with the largest number of buffer overflows I’ve heard about.
* https://news.ycombinator.com/item?id=33465707#unv_33467000