Is it possible to run program installed in root user by regular users?
I have installed NCL in root user account. All the NCL script runs well in root user. I have 2 regular user accounts too. But none of NCL script runs in regular users account.Is there any method to make it run in 2 regular users as well or should I install NCL Program in both of regular accounts too?
You need to tell us what happens when a non-root user attempts to run the scripts. This will entirely determine what the proper solution to your problem will be.
Please pose additional questions so that we can help you, or, if you solve the problem yourself, post an explanation as to what you did and edit the title-line to include "[SOLVED]."
Assuming that you followed all correctly (based on your earlier thread) ie. created environment variables in all users' logins, it seems that SYMLINK may be the option for you since the getting started file doesn't talk of multi user, client install etc.
In SYMLINK, you use normal link command (ln) with a -s flag.
It may be thus
ln -s ncl_files_installed_as_root a_sub_directory_under_your_home_directory
You still might get problems when two people open it at the same time (placement of scratch files etc).
Also, as an aside ...
I normally set up a "maintenance account," say maint (okay, okay, it's my VM/HPO mainframe days catching up with me at last ...), and this non-rootly user and the non-rootly group that he's the sole member of is responsible for maintaining /usr/local/anything, this being the place where all applications "of my own choosing" get put.
All of the scripts related to system maintenance are stored in this account (whose home-directory is not accessible to others), and this user of course owns all of the applications and their related files. This user has no special powers, so setuid is not an issue, but he's the only one with read/write permission to any of these files.
/usr/local/... is set up as one of the entries on the default PATH, library-path and so-on such that files in these areas are accessible to everyone (but inferior in the search-path order to any system-defined applications or commands).
All of this serves to create a three-level hierarchy of stuff:
for regular user
[atmos_stud@ localhost Deskto]$ ng4ex gsun01n
path to directory (root)not found [environment variable not set]
|All times are GMT -5. The time now is 07:23 AM.|