As user aa, I need to login to an shared account bb. After I login as bb, I want to source the personal bashrc file which is only used by myself, not any other users. How could I make this happen in one line command? I find some possible answers like
sudo -iu bb bash -c 'source bashrc_aa'
but after this it will change back to user aa, I want to keep as user bb. Any solutions?