|
News News regarding BSD and related. |
|
Thread Tools | Display Modes |
|
|||
Two core Unix-like utilities, sudo and su, are getting rewrites in Rust
From https://arstechnica.com/information-...rites-in-rust/:
Quote:
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
Interesting, but wasn't that the reason behind the creating of doas.
__________________
Linux since 1999, & also a BSD user. |
|
||||
The creator of doas said that the complexities of sudo's configuration file caused them to make an alternative:
Quote:
So doas is (potentially) more secure because of it's simplicity. I prefer this approach to the "rewrite it in Rust" mentality that has become prevalent. |
|
|||
Also prefer, for simplicity reasons, doas on systems where it's available and works. However, on my debian partition it didn't seem to work despite being offered. I didn't look into it further.
Rust in Linux notwithstanding, I'm not putting a lot of significance to this story, particularly for BSD. It's an old idea in two respects: 1. if you only re-wrote your code in Ada, modula II, Lisp, C++, Rust, Haskell, etc. is a very old mailing list troll subject. 2. it's common for language enthusiasts to re-implement smallish unix utilities in their favourite languages. For #2 I'd give the Perl example of File::Which. If you read its docs on metacpan you can see that there's proposed the justification that Windows lacks this utility lest someone think it just a lark, but I suppose most of the motivation was a (justifiable!) love of the Perl programming language and some free time. The difference here is that the language memory safety issue might be given out as a more broad or serious justification and one seeming to have some cachet this year (particularly among Rust enthusiasts?). So they have a little money and foundation backing them. There will probably be some linux distro that takes this, but I'm guessing not mainstream ones or at least not Debian and Slackware (Slackware is still mainstream in these parts, no?). It's interesting Ted Unangst's point on tension between sysadmin with complex requirements and more casual use. That tension runs deep through a lot of hobbiest use of BSD and Linux seems to me. As I get closer to retirement and don't aspire so much to have corporate exploitable skills, more and more I feel a draw to systems without so much pull from the work a day world. E.g. just downloaded Dragoro to play with -- not sure how far that will go, but it looks suitably uninfluenced by today's technical professional enthusiasms. And someday plan9, Minix or even Oberon, there's always someday. |
|
|||
Quote:
Quote:
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Upgrading VPS from single core to multi-core isn't automatically recognized | openletter | OpenBSD Installation and Upgrading | 8 | 23rd December 2021 05:32 PM |
Rust getting into mainline Linux kernel and AOSP | e1-531g | News | 4 | 30th April 2021 10:14 AM |
hide ip/mac from arp scanning utilities on openbsd | sunfish117 | OpenBSD Security | 3 | 1st March 2021 12:59 PM |
Rust programming language 1.0 released | e1-531g | News | 1 | 19th May 2015 06:50 PM |
HighPoint Rocket Raid Utilities | paul-lkw | FreeBSD Ports and Packages | 0 | 3rd March 2009 05:41 AM |