That would be crazy if someone imported tmux, doas, tmux, and openrsync into #FreeBSD base. Like , crazy.

@dexter

I use doas on FreeBSD

@rl_dane @dexter Unfortunately it is missing some features that aren't available in FreeBSD kernel space though.
@tubsta @rl_dane @dexter yeah. I use sudo(-rs) because of the ability to remember me for longer than a single command 😅

@ianthetechie @tubsta @dexter

I'm not in front of my #FreeBSD laptop right now, but I'm pretty sure doas on FreeBSD has retention. It's probably not as secure as the #OpenBSD implementation, but (heh) not much is. ;)

@rl_dane @ianthetechie @tubsta @dexter thought opendoas did whereas doas does not. The former is the OpenBSD flavour if memory serves.

@EF @ianthetechie @tubsta @dexter

They're both forks, AIUI, because the hooks to retain auth status is custom to OpenBSD.

@rl_dane @EF

Yes. The #OpenBSD version does not work as-is anywhere else. Basically: either one modifies the code to conditionally-compile out the OpenBSDisms and loses functionality, or one takes the OpenBSDisms out completely and replaces them with sudoisms.

https://news.ycombinator.com/item?id=37317970

https://news.ycombinator.com/item?id=36353756

#FreeBSD, #NetBSD, and #Arch Linux have both Smith's and Overbruck's versions; #Debian Linux only the latter; #SmartOS only the former.

@ianthetechie @tubsta @dexter
#doas #sudo

@JdeBP @rl_dane @EF @ianthetechie @tubsta @dexter

>doas(1) concatenates all supplied arguments using strlcpy(3) and strlcat(3), the maintainer replace them with strncpy(3) and strncat(3

I thought these functions are part of the #linux libbsd package, is that not the case ? I would think if you add libbsd as a dependency that would remove a lot of "OpenBSDisms". From what I have seen on #linux, many pkgs do not care if they have lots of dependencies, what is one more small library :)

#bsd

@jmcunx @JdeBP @rl_dane @EF @ianthetechie @tubsta @dexter they are, and they're also in glibc as of 2.38 a few years ago, but only because they got added to POSIX.1-2024.