Sourcing as root automatically

Hey everyone!

I have my .bash_profile file which is read automatically when I launch Terminal therefore I can run my own functions.

BUT.

When I do:

sudo -s
sudo su
sudo su -

No matter what I do, I can't get the .bash_profile file to be sourced automatically so I end up having to run different commands.

Example: I have this function:

aaa(){
	if [ `id -u` -eq 0 ]
		then	rm ~/Whatever/*
		else	echo PERMISSION DENIED
	fi
}

Running:

aaa

Output:

PERMISSION DENIED

Running:

sudo aaa

Output:

sudo: aaa: command not found

So I end up having to type:

sudo -s
source ~/.bash_profile
aaa

Any possible way I can make shell source .bash_profile automatically when logging as sudo?

Thanks!

P.S: I know I can just add it to the bashrc file in /etc/, I'd just like to avoid that workaround.

su - does source the profile as it does a login. But, as you su to another user, it sources that user's profile, so make sure aaa is in root's profile and it will fly.

Yes, I can always put all my functions in the bashrc and be done with it. I just wanna know if there's any way to get the bash_profile sourced when logging in as root.

Thanks!