How can I make an executable in linux ubuntu with time constraint meaning that I want the executable to run only for 90 days in the machine where I deploy it? So the user can only use the executable for 90 days and not more. Similar to some softwares which has free trial period for 1 month.
Time limit in an executable
388 Views Asked by user1583647 At
1
There are 1 best solutions below
Related Questions in LINUX
- Is there some way to use printf to print a horizontal list of decrementing hex digits in NASM assembly on Linux
- Why does Hugo generate different taxonomy-related HTML on different OS's?
- Writes in io_uring do not advance the file offset
- Why `set -o pipefail` gives different output even though the pipe is not failing
- what really controls the permissions: UID or eUID?
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Docker container unable to make HTTPS requests to external API
- Whow to use callback_query_handler in Python 3.10
- Create kea runtime directory at startup in Yocto image
- Problem on CPU scheduling algorithms in OS
- How to copy files into the singularity sandbox?
- Android kernel error: undefined reference to `get_hw_version_platform'
- Is there a need for BPF Linux namespace?
- Error when trying to execute a binary compiled in a Kali Linux machine on an Ubuntu system
- Issue with launching application after updating ElectronJs to version 28.0.0 on Windows and Linux
Related Questions in UBUNTU
- Error: local variable 'bramka' referenced before assignment
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Can't connect to local postgresql server from my docker container
- How to install libfuse2 on Ubuntu 22.04
- Error when trying to execute a binary compiled in a Kali Linux machine on an Ubuntu system
- Can anyoone help me with this problem while trying to install hadoop on ubuntu?
- Ubuntu wsl2 in windows, my /etc/fonts/fonts.conf keeps reloading
- psutil.sensors.temperatures() only delivers {}
- Issue with [proxy_fcgi:error] [pid 1539011] (70007)The timeout specified has expired
- Viber is not working on Ubuntu 22.04 Jammy
- why is ubuntu 18.4 still showing as a linux subsystem when i have uninstalled it?
- Why when I want to open a folder from Visual Studio Code does the screen go crazy?
- What is this error when trying to update Ubuntu?
- Angular on IONOS(?) throws an error with npm
- Tensorflow can't find TensoRT
Related Questions in EXECUTABLE
- Issue with making python executable with local db, sqlite3, tkinter
- Cmake is not building an executable
- How can i debug a python exe which is created by using pyinstaller?
- With Node SEA, how to pack node_modules into executable?
- Executable generated from Pyinstaller not closing properly
- Having problems with cx_Freeze and making an executable
- Why can't I read my executable's output in Python?
- Corect Maven project execution plugin configuration when using multimodule application
- How to convert editable python file to executable?
- Streamlit with Pyinstaller issue
- Trouble building UACME executable
- Why can't I run my python executables in busybox?
- How do I produce multiple executables using Nuitka for Python?
- Letting user modify the program through a "config" folder
- PyInstaller + Tkinter within Virtual Environment -- failed to built an executable in python 3.8
Related Questions in TRIALWARE
- A way to make executable only work for certain time in Python
- Correct way of implementing a Time Trial version for iOS apps
- Set trial date on stripe dashboard only refer to plans not create them in my app using stripe
- Trial version for javaFx application
- Linux: where can I store data secretly in order to implement a time-limited demo?
- Windows: where can I store data secretly in order to implement a time-limited demo?
- Error message when trying to start an expired trial UWP app downloaded from the Windows Store -- "A device attached to the system is not functioning"
- Add an expiry to win32 software using visual studio 2013
- Time trial version of a program
- How to make a trial version of our software
- Microsoft Visual Studio 2010 Professional - Trial Extension
- Track real usage time in Cocoa app
- Generating different types of serial key for different subscriptions for java application
- Code to check 30 days trial for my application
- Time limit in an executable
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
While it is difficult to guard against modification of the executable file, in theory you can do this with a trivial implimentation in your code.
For example, in C:
This relies on setting the time to expire at compile-time.
If you want to have the trial last a certain period, rather than expire at a particular predetermined time, then you would have to get the program to write a file on first execution that specifies the time it was run. You can then later compare the current time with this file.
These methods can be avoided by savvy users, and so you may wish to pursue other methods, perhaps increasing obscurity, or involving some server that you own in a critical software function.