Originally Posted by anis_huq
So what I did was to put: "export PATH=$PATH:/home/ahuq/MappingServer/md5_program" in the running SHELL. This only makes temporary changes and lets me run the "md5" program from anywhere temporarily. But I want to make this change permanent.
I'm going out on a limb here ... In other words: I only understand vaguely what you mean.
What I get is that you want all users to be able to access this program, and all I can think of is: Have you done a $ chmod
allows whoever you add to it, permission to access files for their own use or reading ... I don't know if that applies to you, But it sounds like it may.
To change the mode of a file, use the chmod command. The general form is
chmod X@Y file1 file2
where: X is any combination of the letters `u' (for owner), `g' (for group), `o' (for others), `a' (for all; that is, for `u,g, and o'); @ is either `+' to add permissions, `-' to remove permissions, or `=' to assign permissions absolutely; and
Y is any combination of `r', `w', `x'. Following are some examples:
chmod u=rx file (Give the owner rx permissions, not w)
chmod go-rwx file (Deny rwx permission for group, others)
chmod g+w file (Give write permission to the group)
chmod a+x file1 file2 (Give execute permission to everybody)
chmod g+rx,o+x file (OK to combine like this with a comma)
is a link to their site.
Do I just logout or do I have to restart the system to make the changes active?
With alot of changes you don't really have to. But when I make a change or install a new program, I generally do a restart for 2 reasons.
1) If it causes the system to malfunction or run undesirably, I know what the reason is.
2) From what I understand, Linux holds onto processes as long as it is using them, So I like to restart and have it be as fresh as possible before running new things, or working with changes I have made.
Hope this info is helpful, and if not ... Well I tried
Best of luck!