Questions tagged [executable]

An executable is a file that can be run on a device / computer. Those tags [service], [services], [windows-service] or [daemon] can be related, depending on how the executable is run.

An executable is a file that can be run on a device / computer. The tags , , or can be related, depending on how the executable is run.

62 questions
2
votes
1 answer

Windows Server Task Scheduler: Running scheduled executable fail-safe?

I have an executable which I've scheduled to run once in every five minutes (using Window's built-in Task Scheduler). It's crucial that this executable is run because it updates few time critical files. But how can I react if the virtual server…
2
votes
1 answer

How to allow a git hook to run an executable with sudo by modifying /etc/sudoers

I'm using a git post-update hook to run a command via sudo, and I get the error: sudo: sorry, you must have a tty to run sudo. I believe I need to modify /etc/sudoers but I don't know how to do this. Any help would be appreciated!
Justin Meltzer
  • 621
  • 1
  • 9
  • 18
2
votes
1 answer

Strange behavior with execution permission

For exercise - I removed execute permission for others from /bin/pwd: $ chmod o-x /bin/pwd $ ls -l /bin/pwd -rwxr--r-- 1 root root 26568 Apr 28 2010 /bin/pwd and as logged as matt I cannot execute /bin/pwd as expected: $ /bin/pwd $ -bash:…
dreamcocoa
  • 23
  • 2
2
votes
2 answers

p4 - I've got no such file or directory - when in reality it exists

I have installed p4 command line client on the server, and something strange happened. It exists, has executable rights, but I cannot execute it beacause I got message that it does not exists. I will put terminal commands and output to describe…
kokosing
  • 131
  • 1
  • 7
2
votes
0 answers

Facilitating arbitrary code execution on AWS Lambda

I am developing a SaaS where a user will be able to upload a custom JavaScript function that runs when an event happens. In order to preserve the integrity of the system, I am using AWS Lambda to run these functions such that they can run in…
1
vote
1 answer

How to start binary file from Systemd service

So, I have start.sh file to start imagecache service. And I have executable binary file "imgproxy" and I need start it and pass to it two parameters like as text file. Body of start.sh file: export…
SBotirov
  • 25
  • 1
  • 8
1
vote
0 answers

Running a command in Powershell and running the exe gives different results

This is really odd. I have a so called Perforce Helix server on my Windows 2016 server. Now on this server there is an exe called p4d now if i go to the Powershell and run p4d it runs the command starts the "correct" server and i am able to connect…
1
vote
1 answer

Windows - Restrict ability to run application to one service account

I've been asked to write a script that enters information from one application into another - and I've done it using a combination of Python, Selenium and Firefox (it's a temporary measure before a project to actually properly integrate the two…
1
vote
1 answer

Windows: create a service for running a executable jar with out any external libraries

I have spring boot executable jar file which can run into any command prompt by calling java -jar filename.jar. I want to create a service with out downloading any external libraries for the above code snippet. Help me if there is a strait forward…
1
vote
1 answer

How to safely allow IIS to execute an exe with potential vulnerabilities?

We have an IIS application that needs to execute an exe with potentially malicious input. Multiple applications run in this app pool and I would like to limit our risk as much as possible. The executable itself is trusted, but is very possible to…
Sam Rueby
  • 646
  • 3
  • 8
  • 16
1
vote
1 answer

Unison on bootup

I have unison running thru a config file by default. In here it applies the wait=watch function so it syncs automatically. But I wanted to run unison on boot, but I haven't been able to do this. There were some other links, but they didn't gave me…
Lars Behrens
  • 53
  • 1
  • 6
1
vote
4 answers

Why would a web server set the content type of a redirect to application\octet-stream

I have taken steps to prevent software from being downloaded from the Internet as it was being abused by students. This was implemented using ISA 2006's Content Type filter condition "Application". Amongst many other MIME types it included…
Richard Slater
  • 3,228
  • 2
  • 28
  • 42
1
vote
2 answers

Group Policy is blocking exe files

I teach programming in Visual Studio. We want to run it on a terminal server. The problem is that whenever we compile our programs, the Windows refuses to start the created exe file. (I didn't even know the ability to block all exe files exists. And…
1
vote
3 answers

Why is sometimes the exe-files locked by windows?

We have an inhouse application Fattracs that is used by 10-30 users over Citrix. All users have starts an own instans. The exe-file resides on several servers with Windows 2003 R2 that is loadbalanced by Citrix. When a new version arrives the…
berocoder
  • 197
  • 2
  • 9
1
vote
1 answer

Difference between bin files that are executed via ./binfile and "regular" bins?

I built a C program using make on Ubuntu. The resulting bin file is executeable via ./binfilename but not by just executing it in the directory it was build. How can i "convert" it to a bin file that I can copy to /usr/bin so I can execute it…
bitrocker
  • 117
  • 1
  • 2