I am running fish (Friendly Interactive Shell) as my standard terminal in Ubuntu 14.04, rather than bash.
I noticed the following behaviour and don't know, if any of these are the preferred one to gain root access.
I can type the command sudo su or sudo fish and it will both give me super user rights.(The prompt is displayed as root@ubuntu ~#)
Is there any difference in the behaviour of these commands?
The only thing I could understand is, that sudo su uses the fish configuration located in /root/.config/fish/ and sudo fish uses the fish configuration in my home directory /home/uloco/.config/fish.
Is there a possibility to crypt my system by using sudo fish? Will there be any owner changes made to files in my home directory if I use this?