entire fs is nobody-nogroup - can't sudo

Briefly describe your issue below:
I just installed (from Etchered USB-stick, standard installer with the blue/red DOS-like interface) Parrot Security 4.6 KDE, quadraplebooting with Mint 19, KDE neon and Win 7. My problem is that I cann’t run any sudo commands even though my only user has sudo privileges. I cannot even run dmesg, I get permission denied. I noticed that the entire filesystem execpt home is nobody/nogroup rather than root/root and I suspect that is the source of my problem. Are these permissions intended or did something go wrong during install?

Should I just boot another OS and change the filesystem ownerships, or will that mess up Parrot?

┌─[parrot@parrot]─[~/Downloads]
└──╼ $cat /etc/group | grep sudo
sudo:x:27:parrot
┌─[parrot@parrot]─[~/Downloads]
└──╼ $sudo -i
bash: /usr/bin/sudo: Permission denied
┌─[✗]─[parrot@parrot]─[~/Downloads]
└──╼ $sudo nano
bash: /usr/bin/sudo: Permission denied
┌─[✗]─[parrot@parrot]─[~/Downloads]
└──╼ $dmesg
Bad system call
┌─[✗]─[parrot@parrot]─[~/Downloads]
└──╼ $ls -la /
total 76
drwxr-xr-x  20 nobody nogroup  4096 Jun 20  2019 .
drwxr-xr-x  20 nobody nogroup  4096 Jun 20  2019 ..
-rw-r--r--   1 nobody nogroup     0 Apr 25 14:29 0
-rw-r--r--   1 nobody nogroup     0 Jun 20  2019 .autorelabel
lrwxrwxrwx   1 nobody nogroup     7 Jun 20  2019 bin -> usr/bin
dr--------   2 nobody nogroup    40 Jun 20 00:05 boot
drwx------   2 nobody nogroup  4096 Jun 20  2019 .cache
drwxr-xr-x   7 nobody nogroup   420 Jun 20 00:31 dev
drwxr-xr-x 211 nobody nogroup 12288 Jun 20  2019 etc
drwxr-xr-x   3 nobody nogroup    60 Jun 20 00:31 home
lrwxrwxrwx   1 nobody nogroup    40 Jun 20  2019 initrd.img -> boot/initrd.img-4.19.0-parrot4-28t-amd64
lrwxrwxrwx   1 nobody nogroup    40 Jun 20  2019 initrd.img.old -> boot/initrd.img-4.19.0-parrot4-28t-amd64
lrwxrwxrwx   1 nobody nogroup     7 Jun 20  2019 lib -> usr/lib
lrwxrwxrwx   1 nobody nogroup     9 Jun 20  2019 lib32 -> usr/lib32
lrwxrwxrwx   1 nobody nogroup     9 Jun 20  2019 lib64 -> usr/lib64
lrwxrwxrwx   1 nobody nogroup    10 Jun 20  2019 libx32 -> usr/libx32
drwx------   2 nobody nogroup 16384 Jun 20  2019 lost+found
drwxr-xr-x   3 nobody nogroup  4096 Jun 20  2019 media
drwxr-xr-x   2 nobody nogroup  4096 Apr 25 04:28 mnt
drwxr-xr-x   5 nobody nogroup  4096 Jun 20  2019 opt
dr-xr-xr-x 226 nobody nogroup     0 Jun 20 00:31 proc
drwxr-xr-x   9 nobody nogroup  4096 Jun 20  2019 root
drwxr-xr-x  37 nobody nogroup  1020 Jun 20 00:05 run
lrwxrwxrwx   1 nobody nogroup     8 Jun 20  2019 sbin -> usr/sbin
drwxr-xr-x   2 nobody nogroup  4096 Jun 20  2019 snap
drwxr-xr-x   3 nobody nogroup  4096 Jun 20  2019 srv
dr-xr-xr-x  13 nobody nogroup     0 Jun 20  2019 sys
drwxrwxrwt  15 nobody nogroup  4096 Jun 20 00:22 tmp
drwxr-xr-x  18 nobody nogroup  4096 Jun 20  2019 usr
drwxr-xr-x  14 nobody nogroup  4096 Jun 20  2019 var
lrwxrwxrwx   1 nobody nogroup    37 Jun 20  2019 vmlinuz -> boot/vmlinuz-4.19.0-parrot4-28t-amd64
lrwxrwxrwx   1 nobody nogroup    37 Jun 20  2019 vmlinuz.old -> boot/vmlinuz-4.19.0-parrot4-28t-amd64
┌─[parrot@parrot]─[~/Downloads]
└──╼ $

What in the world happened to this fs permissions are all wrong and the old and new kernels point to the same thing. You’re probably trying to boot too many operating systems and this is confusing the machine.

I’ve had the same issue. I really like to use Parrot KDE home but I couldn’t get the home edition installed. The Home edition of the parrot installer doesn’t install GRUB properly for me and the workarounds weren’t really working for me.

It seems the KDE editions of both Home and Sec have lots of big issues. the ‘nobody-nogroup’ bug happened to me on a dedicated install of the KDE Security Edition. (I’d really rather be using home, but see above) My guess is the MATE versions are the main focus, which is fine, It’s a pentesting OS at heart after all.

Yes, could have been KDE that is spooking. Thanks for the tip!
I have now installed MATE and it works much better.
Only thing now is that the system clock is off by two hours, correct time zone is set and it is supposed to check internet time, but it is still off by two hours. I will have to look into that.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.