[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Please, don't let sudo be auto-removable



Hi,

On Wed, Jul 30, 2025 at 07:55:12PM +0100, Darac Marjal wrote:
> 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.

That's an interesting idea. sudo pre-rm could say, "please set a root
password and retry" or something. I took from OP saying about "who
remembers root password?" that they did have a root password set though,
in which case this wouldn't help of course.

(Whole other conversation here about having a root password set that you
don't record somewhere also being questionable practice!)

Thanks,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting


Reply to: