help with sudo and path
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@tic.com
+1 480 922 7313
cell: +1 602 421 9005
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
|