I run my local testing server inside a VM. I often have to open up multiple windows in it, and all have to be logged in root. Usually this is accomplished by writing su on every tab, a total of 7-8 times. Is there a way that I have to enter the root password only once, and the next terminal tab/window that I open has be logged in as root? Sort of like it maintains the current working directory?
How to start subsequent shells as root?
bash;ubuntu;root;autologin