From: Alexandre P. N. <al...@om...> - 2006-02-01 23:27:24
|
Gil Yetter escreveu: > When logging into the gumstix as root using shh I’ve noticed that only > the /etc/profile file is being executed and not the .bashrc and > .bash_profile in the root user directory. I see the same behavior with > other user accounts I’ve created as well. > Is this the correct behavior? > If so, why are there .bashrc and .bash_profile files in the root user > directory? > At least the openssh doesn't follow the same login sequence as when you login via, well, the login program. I don't know about the sshd that comes with gumstix (I think it is dropbear sshd), but you may try to add something like: [ -f "$HOME/.profile" ] && source "$HOME/.profile" to your /etc/profile, if you need that functionality. I though that dropbear did not behave like openssh on this, it seems I was wrong... Alexandre |