On 2014-07-08 16:53 +0200, Linux-Fan wrote: > On 07/08/2014 04:42 PM, Harry Putnam wrote: >> However, in that case I do not understand this behavior below: >> >> sudo -E which enw >> >> {no output} >> >> sudo -E enw >> >> sudo: enw: command not found > > I do not understand it either. I just tried it and the ``problem'' is > reproducible: I believe it is related to some sudo policy or such. (The > manpage says ``Environment: PATH May be overriden by the security > policy.'') Also, this seems to be special to the $PATH variable. Others > work fine.
The secure_path setting in /etc/sudoers is responsible for that, it seems. Cheers, Sven -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/87lhs3275q....@turtle.gmx.de