

Not able to setup wifi possibly because sudo does not work
I had bought two laptops. These had two logins "user" and "debian". For some reason the debian login has vanished from one of the laptops.
I am not able to set up wifi. When the ethernet icon is clicked, it shows no networks and shows only the airplan symbol with the click box before.
Sudo command does not work. When I use "sudo -i" in terminal, the response is "sudo must be owned by uid 0 and have the setuid bit set".
Please help to resolve the problem.
Affordable-Laptop


It seems you have accidentally changed the ownership/permission of your root(/) filesystem.
Try the following:
- Open the terminal of "user" and type
- su root (passwd: debian)
chown root:root /usr/bin/sudo && chmod 4755 /usr/bin/sudo
- reboot and try wifi, try 'sudo -i' etc
- If 'root' user isn't available, then try booting into recovery mode by changing the grub (search for it), it will drop you to a root shell, do the above chown and chmod commands
- If not, backup your data, and reinstall from our ISO
Let me know if either of these work.
13-09-19, 2:18 p.m. sethbharat
15-09-19, 1:07 p.m. Srikant
18-09-19, 1:09 p.m. sethbharat
19-09-19, 12:11 p.m. sethbharat
20-09-19, 2:05 p.m. Srikant
Login to add comment