Hi,
sudo not found error shows that your user is not in the /etc/sudoers file or if 
it is there, he doesn't have permission to execute the command you are trying..
Execute permission denied shows that the script you are trying to execute is 
not having execute permissions...
By the way /var/ossec is a directory.... You should go in /var/ossec/bin and 
execute the command.

Regards,

From: "finid"[email protected]
Sent:Sat, 22 Dec 2012 18:13:05 +0530
To: [email protected]
Subject: [ossec-list] Can't access cd /var/ossec

>Attempting to run cd /var/ossec after installing it on Linux Mint returns the 
>following:
>bash: cd: /var/ossec: Permission denied.
>But sudo cd /var/ossec returns
>sudo: cd: Command not found 
>Any clues? 

Reply via email to