Hi,
I have a problem with the variables PKG_PATH and PATH when login graphic model how root!
I inserted the variables in ~/.profile but every time I boot and log in as root, when I try to run the pkgin command or when I try to run any command from the /usr/pkg/bin directory the system says that it was not found!
I did this:
export PKG_PATH="http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -p)/$(uname -r|cut -f '1 2' -d.)/All/"
export PATH=$PATH: /usr/pkg/bin
In .profile but It didn't worked!
I also put in .shrc but again didn't worked!
Now, when I login with a common user, I was able to execute pkgin (despite of the user doesn't to have permissions, but, for example, the command "pkgin search postgresql" works) and any command of the directory "/usr/pkg/bin"!
Is there any property of root that I need to know?
Or is the graphic terminal configured other local/file for that root works?