PDA

View Full Version : sudo



Parthasarathi
2020-04-19, 11:45
Hi,

I getting the following error on kali 2020.1

sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?


I started getting this error after i unmounted a share folder. I unmounted it using (sudo umount -a).

Now i cannot use sudo.. please help me resolve this.

cold iron
2020-04-21, 15:51
Seems the pros want to keep the newbies out by no help for them.

re4son
2020-04-21, 23:09
I started getting this error after i unmounted a share folder. I unmounted it using (sudo umount -a).
Now i cannot use sudo.. please help me resolve this.


umount -a stands for "unmount all filesystems currently mounted". You just removed the entire filesystem, not just a shared folder.
https://linux.die.net/man/8/umount

A reboot should fix it.

re4son
2020-04-22, 00:03
Seems the pros want to keep the newbies out by no help for them.

I believe that this can't be further from the truth.
I think the issue is, that people use their limited time available to scan these forums on a very high level and they jump on something that sticks out and where they feel "Hey, I've seen that before - I know how to fix that".
I doubt that many Kali users have seen some of the issues listed here so they are hesitant to reply.
Another issue might be, that forum members may feel that they would insult someone by replying with fundamental knowledge that they are taking for granted from users of an advanced penetration testing distribution.
There are other forums that might be more suited to find answers to generic Linux questions. I'd recommend checking out https://www.linuxquestions.org/questions/

Rinzler
2020-04-22, 18:12
I doubt that many Kali users have seen some of the issues listed here so they are hesitant to reply.
Another issue might be, that forum members may feel that they would insult someone by replying with fundamental knowledge that they are taking for granted from users of an advanced penetration testing distribution.
There are other forums that might be more suited to find answers to generic Linux questions. I'd recommend checking out https://www.linuxquestions.org/questions/


Thank you for that suggested link.

cold iron
2020-04-25, 13:25
Thanks for the link. It looks like a great site.