What have you tried:Install the library manually
What is the error:sudo
sudo: error while loading shared libraries: libsudo_util.so.0: cannot open shared object file: No such file or directoryWhat have you tried:
What device is this on: HP laptop
sudo
sudo: error while loading shared libraries: libsudo_util.so.0: cannot open shared object file: No such file or directory how to fix this
First off, I would log in as root, and use apt to reinstall sudo.
su -
apt install --reinstall sudo
When prompted for the root password, assuming you have not changed the default, enter toor
Where did you get “toor” from, if I may ask?
I just typed into google “kali default root password”.
If you do that, you will (or should) see what I got.
I see now from going to the kali credentials page which is the top hit, that since 2020, that is nolonger the case though. Sorry!
It hasn’t been “toor” for years now.
My suggestion would be to just refer to the documentation on the website if you are unclear about things. My second suggestion would be to never run as root, that is what sudo is for. Only run with superuser privileges if and when you need them, not all the time by switching the user.
Yeah but the OP can’t run sudo. Thats what the thread is about. I suggested he drop into a root shell so he could reinstall it.