I'm trying to get in the habit of logging into my remote server with a regular user and then using "su" to get to root, but it seems like all the environment variables are lost... For example, after I su to root, I can't just use "useradd" but have to specify the full path "/usr/sbin/useradd".
Any tips on maintaining the environment vars or paths or whatever?