LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-04-2013, 01:04 AM   #1
rezabma
LQ Newbie
 
Registered: Dec 2013
Posts: 6

Rep: Reputation: Disabled
installing a code without users access


Hi
I want to install a code in a way that users can execute the code but don't have access to the source files to copy or redistribute them due to the copyright laws.
How can I do it?
 
Old 12-04-2013, 01:08 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

distribute the executable binaries, but not the source code (and enjoy compiling binaries for every os and architecture).

Evo2.
 
Old 12-04-2013, 01:16 AM   #3
rezabma
LQ Newbie
 
Registered: Dec 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
If the users copy binaries, they can use them on any system. I have bought the code with one site license. However, with installing it, users may copy the binary and use it in another sites.

Last edited by rezabma; 12-04-2013 at 01:21 AM.
 
Old 12-04-2013, 01:37 AM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,
Quote:
Originally Posted by rezabma View Post
If the users copy binaries, they can use them on any system. I have bought the code with one site license. However, with installing it, users may copy the binary and use it in another sites.
I guess you could remove the read bit from the binary. eg
Code:
chmod -r stupidCommercialSoftware.exe
There's probably a way around this though.

Evo2.
 
Old 12-04-2013, 11:41 AM   #5
rezabma
LQ Newbie
 
Registered: Dec 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
Dear Evo2
I think I could not explain what I need exactly. I have a GAMESS code which is a quantum chemistry code. It is in parallel and I have compiled it with gfortran and gcc on debian 7. Some other programs can match with GAMESS to provide user some more information. One of these programs is NBO. NBO has two version, binary and source code. I have bought its binary version. It is a static library with the name of nbo6.i8.a. When I want to link this library to other object files of GAMESS, I need to define its address. The problem is here exactly. If I install GAMESS in the root's home and put the NBO library there, then only root user can execute it. If I placed it in the home user, then he/she could have access to the NBO library and can distribute it. If it is possible please guide me.
 
Old 12-04-2013, 12:08 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,735

Rep: Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317
# 5 .

Would that be GAMESS-US, or GAMESS ?

GAMESS-US http://www-theor.ch.cam.ac.uk/IT/sof...gamess-us.html

GAMESS http://www.msg.ameslab.gov/gamess/

-
 
Old 12-04-2013, 07:40 PM   #7
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

since your executable is statically linked against nbo6.i8.a, then the file nbo6.i8.a is not needed at run time and therefore it doesn't even need to exist on the machines where your executable is being run.

Evo2.
 
Old 12-06-2013, 04:48 AM   #8
rezabma
LQ Newbie
 
Registered: Dec 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
GAMESS-US (from prof. Gordon at IOWA)
 
Old 12-06-2013, 04:54 AM   #9
rezabma
LQ Newbie
 
Registered: Dec 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
Dear Evo2
Yes, I know that when I run a statically-linked program, I don't need its libraries. This is true for all users of my machine. They don't need the libraries too:-)
It is sufficient for them to copy the binary file and paste it on any other machine, and use the program illegally.
Are you sure that the command "chmod -r program_name.exe" prevent the users to copy it, even when the file present in their home?
 
Old 12-06-2013, 04:55 AM   #10
rezabma
LQ Newbie
 
Registered: Dec 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
Wink

Quote:
Originally Posted by knudfl View Post
# 5 .

Would that be GAMESS-US, or GAMESS ?

GAMESS-US http://www-theor.ch.cam.ac.uk/IT/sof...gamess-us.html

GAMESS http://www.msg.ameslab.gov/gamess/

-
the second address is for GAMESS-US
 
  


Reply

Tags
gamess


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Apache: free access from lan users and password access to wan users... how? maginotjr Linux - Server 4 01-01-2011 12:08 PM
software to access file system.. how to allow access for non root users? stdcinout Linux - Newbie 8 03-09-2010 01:55 PM
LXer: Linux Users Still Left Out, Why Source Code Matters to End Users LXer Syndicated Linux News 0 10-15-2009 11:51 PM
[SOLVED] pam_listfile to limit users domain users SSH access r3z Linux - Enterprise 5 09-19-2009 02:25 AM
Samba access by Windows users locking out directory access with Konqueror harry_fine SUSE / openSUSE 1 12-18-2004 06:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration