Hi Aled,

It’s happening whenever I’m trying to invoke a /bin or /sbin utility,

I’ve encountered this in Debian 7.2 wheezy, trying now with 7.6 see if the same 
problem occurs.


On 1 Aug 2014, at 14:02, Aled Sage <[email protected]> wrote:

> Hi Zaid,
> 
> Is this happening when you run `sudo` commands, or at other times as well?
> 
> Which Debian version is it?
> 
> On your Debian VM, can you check if /etc/sudoers file contains the line:
>    Defaults 
> secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
> (or if there is a file in /etc/sudoers.d/ that sets secure_path).
> 
> See https://wiki.debian.org/sudo, section "PATH not set".
> 
> Aled
> 
> 
> On 01/08/2014 12:36, Zaid Mohsin wrote:
>> Hello,
>> 
>> whenever I’m dealing with Debian VMs I always encounter this problem:
>> 
>> Note: PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
>> 
>> so in order to deploy on Debian machines I have to add a PATH export before 
>> doing any SSH driver installations/launches.
>> Can there be a permanent fix for this?
>> 
>> Best Regards
>> 
>> 
> 

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to