help with sudo and path
On Tue, 2008-08-12 at 13:37 -0400, SwampYankee wrote:
> 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:
and they have some recommendations for getting around the secure path
+1 480 922 7313
cell: +1 602 421 9005
ubuntu-users mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users