I am logged in with imp user. And when I am trying to login via root user on terminal:
impuser@machine:~$ su - root
it gives:
setgid:Operation not permitted
any idea,How to resolve this issue?
I am logged in with imp user. And when I am trying to login via root user on terminal:
impuser@machine:~$ su - root
it gives:
setgid:Operation not permitted
any idea,How to resolve this issue?
Ubuntu only allows sudo to increase privilege level, not su (unlike other distros). To get a root shell, try this:
sudo su
sudo -i
For an interactive root shell. This has the benefit of also processing the .login and .profile scripts.
sudo -s
Will also give you a root shell but it will not process the root login scripts.