I tried to include the alias cmds also in the /etc/profile file, but they are not yet recognized after the boot.
As a test, I also tried to declare a variable end export it globally, to see if it was working.
I edited /etc/profile
# cat profile
export ENV HOSTNAME MARK
After the boot, that variable is not yet listed in export -p, nor it is echoed by "echo $MARK" .
I tried to include this variable "MARK" also in the path.sh file attached in my previous post:
# cat path.sh
[ $(id -u) -eq 0 ] && PATH="/usr/local/sbin:/usr/sbin:/sbin:$PATH"
export PATH MARK
but it is still not listed in the exported variables (obviously PATH variable is listed!)
This is what is listed in the exported variable list:
# export -p
I'm starting to run out of ideas...