[2019-03-11 11:23] Ian Jackson <ijack...@chiark.greenend.org.uk> > Dmitry Bogatov writes ("Bug#924269: chiark-really: providing bin:sudo"): > > Package: chiark-really > > Version: 6.0.3 > > Severity: wishlist > ... > > please consider making chiark-really drop-in replacement for sudo. For > > my own purposes, > > alias sudo='PATH=/bin:/sbin:/usr/bin:/usr/sbin /usr/sbin/really' > > is perfectly fine, but some packages pull dependency on bin:sudo > > (ubuntu-dev-tools, as example). What about making > > > > bin:really-sudo, which provides `sudo` wrapper and Conflicts+Provides sudo? > > What an interesting idea. > > I definitely don't want to make this always be the case. In general I > really hate the way that build scripts all over the universe think > they are allowed to make themselves root, and the fact that I have no > sudo is then very useful: I get some message about sudo not found, > usually followed by a pile of random junk as the script blunders on > anyway. > > I wonder if maybe > ln -s /usr/sbin/really /usr/local/sbin/sudo > would suffice for your use case?
No, since problem is with debian packages relationships. And, by the way, /sbin/really does not set PATH. Note, that I do not propose complicating bin:chiark-really, I propose separate binary package with tiny wrapper. -- Note, that I send and fetch email in batch, once every 24 hours. If matter is urgent, try https://t.me/kaction --