I can't write down sudo

The “no new privileges” flag is set, which prevents sudo from running as root. If sudo is running in a container, you may need to adjust the container configuration to disable the flag .

do ctrl + alt + f2/right arrow/refresh and you will get the VT-2 shell which allows you to run sudo commands