

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.


You must:
- have the
sudo
package installed. - have “
/usr/bin
” in your PATH environment variable - You username must be listed with some privileges in
/etc/sudoers,
or in a file in/etc/sudoers.d/
/etc/sudoers
can only be edited withvisudo
by the superuser, root.- There may be an
/etc/sudo.conf
file that further refines the capabilities of thesudo
command. see man pages. - In almost all cases you will need to enter your personal password when prompted before the command will execute. After that a timeout period starts where you can call sudo commands without re-entering a password for a short period of time.
- If you are actually logged in as root, you may or may not be prompted for a password, usually not. Some locked-down systems require a special sudo password to do dangerous things even for root.
-----------------------------------------------


Wow, this is really great. I think this is one of the best blog posts that has ever been written. Your work is of a very high quality. It's very important. usps tracking
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
8 ball pool
25-02-20, 2:32 p.m. kennywise
Login to add comment