help with sudo and path
Smoot Carl-Mitchell
smoot at tic.com
Tue Aug 12 18:17:07 UTC 2008
On Tue, 2008-08-12 at 13:37 -0400, SwampYankee wrote:
> Hi,
> I am trying to run nethack wizard mode but when I do so using sudo the
> path can not be found. So, if I type nethack, no problem However, I
> enter sudo -s, provide the password and type 'nethack' I get this:
>
> Command 'nethack' is available in '/usr/games/nethack'
> The command could not be located because '/usr/games' is not included in
> the PATH environment variable.
>
> What can I do to run this as sudo?
There is discussion of this problem here:
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/50797
and they have some recommendations for getting around the secure path
issue.
--
Smoot Carl-Mitchell
System/Network Architect
smoot at tic.com
+1 480 922 7313
cell: +1 602 421 9005
More information about the ubuntu-users
mailing list