Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-15-2003, 05:46 AM
|
#1
|
LQ Newbie
Registered: Jul 2003
Posts: 1
Rep:
|
sudo: readme : command not found
Hi All
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"
Please advice
Your response will be a great help.
Regards
Vishal Thorat
|
|
|
07-15-2003, 05:52 AM
|
#2
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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:
sudo readme
See if that works.
What is "readme"?
Cool
|
|
|
07-15-2003, 07:58 AM
|
#3
|
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552
Rep:
|
Or you could possibly add /opt/ecs/sbin to your PATH.
|
|
|
07-17-2003, 05:56 PM
|
#4
|
Member
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Debian etch, Gentoo
Posts: 312
Rep:
|
or is it in the current path, in which case you're just missing "./"
|
|
|
All times are GMT -5. The time now is 01:52 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|