Package Details: doas-sudo-shim 0.1.1-3

Git Clone URL: https://aur.archlinux.org/doas-sudo-shim.git (read-only, click to copy)
Package Base: doas-sudo-shim
Description: A shim for the sudo command that utilizes doas
Upstream URL: https://github.com/jirutka/doas-sudo-shim
Keywords: doas sudo
Licenses: ISC
Conflicts: sudo
Provides: sudo
Submitter: jirutka
Maintainer: jirutka
Last Packager: jirutka
Votes: 12
Popularity: 1.34
First Submitted: 2022-03-15 21:29 (UTC)
Last Updated: 2023-02-03 22:38 (UTC)

Dependencies (4)

Required by (275)

Sources (1)

Latest Comments

ilovemikael commented on 2025-06-13 06:58 (UTC)

Hey, itamarperdomo, thanks for sharing the pull request - that update is pretty handy! Unfortunately, that PR wasn't actually accepted; it's still open, and I doubt it'll ever be merged as the shim author doesn't seem to be on board with a technicality of the patch: it doesn't perfectly emulate sudo's behaviour. Jirutka is totally entitled to have his shim be as he sees fit, but for me (and the rest of us who want to use doas with makepkg), I find that this shim only covers a minute subset of the original sudo's flags to begin with, so I was never worried about it being a 1:1 replica. More importantly, I value compatibility over exactness, though perhaps the situation with pacman is different on Alpine, and the -k flag isn't necessary in that context.

I don't mean to disparage or discredit Jirutka in the slightest. This is a really cool script, 99% of which he covered the heavy lifting in creating, so kudos to that; this differing of opinion is likely just one out of hundreds of other viewpoints on which we would see eye-to-eye (I mean, I don't know the guy, but I assume good faith when it comes to fellow unixers ;p).

Anyways, enough blabbering from me - I'm writing this comment because I wanted to share for any interested parties that I made an AUR package of fclivaz42's fork of this shim (which includes the -k flag); anyone wishing to take a gander can head on over to https://aur.archlinux.org/packages/doas-sudo-shim-k and have a looksie for themselves. Thanks for reading, and have a great rest of your morning/evening/afternoon/night (depending on where you're reading from).

itamarperdomo commented on 2025-04-08 15:26 (UTC)

Hi, the doas-sudo-shim package currently works a little limited, i am not saying is out of date because is working

but as we know, its not enough compatible with sudo, makepkg fails if you use it! There is an update at https://github.com/jirutka/doas-sudo-shim/pull/13#discussion_r1973555014

luluco250 commented on 2023-09-11 02:48 (UTC)

Maybe, I was inspired by the many other -minimal packages, though there seem to be two -nodocs packages.

MarsSeed commented on 2023-09-11 02:44 (UTC)

I think this package would be better if it was renamed to doas-sudo-shim-nodocs. As that would be a more specific and explanatory designation.

luluco250 commented on 2023-08-08 01:51 (UTC)

Thanks for this, though I've ended up forking it to doas-sudo-shim-minimal which only installs the script and skips generating the manual page (too much work/dependencies for something non-essential, specially on slower/storage-constrained hardware).

jirutka commented on 2023-02-03 22:39 (UTC)

@cartogan, I just added provides.

cartogan commented on 2023-02-03 22:33 (UTC)

Is this package a replacement for opendoas-sudo which seems to no longer be available in the AUR? If so, there is one problem. The opendoas-sudo package provided sudo but doas-sudo-shim does not. As a result, packages like matlab-support that depend on sudo don't work with doas-sudo-shim but used to work with opendoas-sudo.