sudo: readme : command not found
while sudoing an application command "readme" i get the following message
sudo : readme : command not found
The readme command is in /opt/ecs/sbin which is not in my PATH
There is an entry in sudoers file /etc/sudoers for this command .
This command "readme" can be executed by all user.
The command works when the obsulute path is provided .
(viz "sudo /opt/ecs/sbin/readme")
But i need to make it work with "sudo readme"
Your response will be a great help.
Symlink it to a location in all users PATH such as /usr/bin :
ln -sf /opt/ecs/sbin/readme /usr/bin
And then call it with:
See if that works.
What is "readme"?
Or you could possibly add /opt/ecs/sbin to your PATH.
or is it in the current path, in which case you're just missing "./"
|All times are GMT -5. The time now is 12:21 PM.|