Re: Please, don't let sudo be auto-removable
>> If you need sudo, why not just apt-mark manual it?
> Does anyone know if the installer does this if the administrator doesn't set
> a root password?
I believe so, but I don't know for sure, no.
> There's an argument that sudo should refuse to uninstall itself (e.g. in
> a prerm script) if the root user doesn't have a password at all. That would
> be a neat trick.
Indeed.
Thinking of scenarios how `sudo` could end up marked as
automatically-installed, `aptitude why sudo` points out that it can get
auto-installed (via "recommends") if you install `dkms`, so maybe José
(or the installer) installed `dkms` long ago and then he recently
removed it?
Stefan
Reply to: