When I enter sudo su or sudo -i in terminal on Ubuntu 12.04, I cannot become superuser. When I enter the password nothing happens. Its like:
user@host~: sudo -i
enter passwd: ******
user@host~: nothing happened
And then:
user@host~: sudo -s
root@user~: WTF?
Instead when my normal user enters sudo -s it becomes root. Wtf...?
root@hostand:~instead of~:– Lucio Dec 15 '14 at 22:54sudo su -? – muru Dec 15 '14 at 22:55sudo -swill look at the environment for a SHELL variable before looking at the users passwd for the chosen shell.sudo -iwill start at the users passwd. If a SHELL variable is declared that will probably be why. Also I am not sure if the .profile and .login will be read bysudo -s– Requist Dec 16 '14 at 19:26