How to switch user to root user in Linux after new Linux VM creation
Chakraborthy, Avijit
0
Reputation points
Dear Community,
I just provisioned a new Linux VM but I am unable to switch to root user using sudo. I ma getting the below error.
avijit [ ~ ]$ sudo su -
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.
How do I access root user ? Please help !
Thanks and regards,
Avijit
Sign in to answer