10/01/2012, 06:50 AM
I keep a .profile in / and in /home/root
They are identical, and look like this:
echo Running .profile
PS1=' > '
a l="ls -l"
a la="ls -la"
a mi='cd /media/internal'
I used to have a line in there that said:
set -o vi
which allows command line editing in bash. It messed up the keystroke interpreter. I removed it and I was fine, I could type / without it coming out as q.
I also go into wTerms preferences, and click the misc tab, and change default exec command to "login -f root". This way I am always root when I login...
The reason I put the identical .profile in / and /home/root so depending on how I get to a command line window (wterm, xecutah, terminal, novaterm, quick install), the behavior is the same: I'm root, and I'm in /home/root after .profile runs.
hope this helps