Just as an aside, inxi has for quite some time already had full native internal doas support, in fact, doas is it's preferred tool internally, sudo is a fallback for if doas is not detected, and has been for quite a while now. You can see this if you start inxi with doas, like: doas inxi -I --slots

You'll see inxi is fully aware of doas as the starting tool, and assuming doas is configured already, it will all 'just work' out of the box.

I also agree that configuring doas vs sudo is so absurdly clear and logical that I can think of few reasons to ever use sudo again, which I have never been able to remember the configuration syntax for without looking at examples.

I've removed the last references in inxi man and help to doas being a BSD option, those were there because it was not certain if doas would successfully enter the linux ecosystem, but now it's in most major distros, or coming soon, so time to promote its use more.

But inxi --recommends already recommended either doas or sudo for linux users, but I've made it more clear that doas is a full option in all those areas.

The OpneBSD guys really outdid themselves on doas, that's really good design and implementation, and I'm sure the code underneath is equally clean and high quality.

I for one heartily recommend doas to anyone looking to replace sudo.

On 11/28/21 10:05, Joseph Carter wrote:
Package: inxi
Version: 3.3.07-1-1
Severity: wishlist

Doas is a massively simpler (and hopefully therefore safer) tool coming
from the OpenBSD folks that does what most people use sudo for: Running
commands as root. It's already supported by inxi, and is used over sudo
if both are installed.

As such, would you consider adding it as an alternative to sudo in
inxi's Recoomends?

Thanks!

-- System Information:
Debian Release: bookworm/sid
   APT prefers unstable
   APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.15.0-1-amd64 (SMP w/16 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages inxi depends on:
ii  pciutils  1:3.7.0-6
ii  perl      5.32.1-6
ii  procps    2:3.3.17-5

Versions of packages inxi recommends:
ii  bind9-dnsutils [dnsutils]  1:9.17.20-3
ii  dmidecode                  3.3-3
ii  file                       1:5.41-2
ii  hddtemp                    0.3-beta15-54
ii  iproute2                   5.15.0-1
ii  kmod                       29-1
ii  lm-sensors                 1:3.6.0-7
ii  mesa-utils                 8.4.0-1+b2
ii  net-tools                  1.60+git20181103.0eebece-1
ii  sudo                       1.9.5p2-3
ii  tree                       1.8.0-1+b1
ii  usbutils                   1:014-1
ii  x11-utils                  7.7+5
ii  x11-xserver-utils          7.7+9

Versions of packages inxi suggests:
ii  curl                      7.79.1-2
ii  libcpanel-json-xs-perl    4.27-1
ii  libjson-xs-perl           4.030-1+b1
pn  libxml-dumper-perl        <none>
ii  perl [libhttp-tiny-perl]  5.32.1-6
ii  wget                      1.21.2-2+b1

-- no debconf information


Reply via email to