I rely on a bunch of aliases and directives in my user (admin) ~/.bash_profile. I quite often have to enter superuser to get some stuff done efficiently. I would like to
I tried ~/.profile, ~/.bashrc. I can't use ~/.bash_profile as I've symlinked to /home/rich/.bash_profile. None of these are working.
So this is all through SSH, so:
Any insight appreciated. Cheers
source /home/rich/.bash_profile
but I am having no luck finding which file to shove that directive in for it to happen upon logging in as superuser. I tried ~/.profile, ~/.bashrc. I can't use ~/.bash_profile as I've symlinked to /home/rich/.bash_profile. None of these are working.
So this is all through SSH, so:
local =SSH=> server as admin =su=> superuser
Any insight appreciated. Cheers