termux中的kali不能进入root,输入su提示su: System error,sudo也无法使用

输入sudo提示sudo: /etc/sudo.conf is owned by uid 100000, should be 0
sudo: The "no new privileges" flag is set, which prevents sudo from running as root.
sudo: If sudo is running in a container, you may need to adjust the container configuration to disable the flag.

su: System error

img

输入sudo提示sudo: /etc/sudo.conf is owned by uid 100000, should be 0
将这个文件的所有者设置为root后再试试:
chown root:root /etc/sudo.conf