[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Unable to start program



Gabrie van Zanten wrote:
> Sometimes I see a program (I think) but I can't run it, even though I'm
> using root. Like this one:
> -rwxr-xr-x  XF86_S3V   2043768
> 
> I thought I could at least run it and get an error, but Linux says: command
> not found. I had this too when installing fortune. After logging in as a
> user I could run fortune, but not before as root (fortune was in the users
> PATH, does it matter?).

the root user does not have /usr/games (the location of 'fortune') or
"." (the current directory) in it's PATH environment variable.  to use
them, you have to state the path explicitly.  e.g.:
/usr/games/fortune
or
./XF86_S3V

-brad


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: