Re: OpenBSD 4.2 - Can only run an app as user
Yeah, I've heard the same a fair bit, but I have tried FreeBSD a little in the past and OpenBSD appeals to me more. I don't care that it's difficult as I have a Win drive here if I REALLY need to do anything, but I've got almost everything I need 'working' regardless and I'm now trying to get into the mechanics of the system.
That said, I've got a bit more detail on the problem - I've found the executable and added the PATH into both root and my main user's .profile file, and it works fine if I log in as either user - the problem comes up when I su though, because when I echo $PATH it doesn't return all of the items.
In short: if I su to root, my PATH variable doesn't contain all of the locations defined in the .profile file - any ideas?
|