The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
1answer
49 views

Run program on “Reconnect Session”

I just implemented BackInfo on our servers, deployed via GPO. Everything is working as intended while users and administrators log on and off. Problems arise when a user disconnects and reconnects an ...
2
votes
2answers
78 views

Disable Execution of all files under directory OS X

Is it possible in OS X (Assume 10.7+) to disable execution of any file (even files in subdirectories) of a specified folder? I don't mean with chmod, but with some kind of security framework. Ideally ...
0
votes
1answer
61 views

How to write a script to install multiple things by just executing it

I have a server (centOS) on which I would like to install the staple development tools. Java, Tomcat, and MySql. What is a good way to write a script that can be ran on newly spawned server so that ...
0
votes
1answer
225 views

Automatically prepend executable Perl scripts using .htaccess (like php_value auto_prepend_file)?

I have previously built sites using PHP, where I automatically included header and footer html using the following lines in .htaccess on an Apache host: php_value auto_prepend_file ...
0
votes
3answers
620 views

exe files being deleted

I have a couple of Windows box (XP and 2008) where a few exe files (unwise.exe - from WISE installation system - among others) simply disappear from time to time. I tried to narrow down this issue by ...
2
votes
1answer
85 views

Distributing a custom command line tool to enterprise servers

I've been tasked with building a command line tool that we will be providing to our enterprise customers so that they can use the API to upload data to our platform. The API works with standard cURL ...
2
votes
1answer
242 views

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 ...
2
votes
1answer
497 views

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. ...
1
vote
1answer
83 views

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 ...
0
votes
2answers
190 views

ENOEXEC on CIFS in SUSE

I am trying to execute a program on a CIFS mounted partition in SUSE 11.1. Whenever I try executing it, I get a "could not execute binary file" error. Using strace, I was able to determine that the ...
0
votes
1answer
149 views

Can php5-fpm be configured for separate php executables?

Can php5-fpm be configured to use php executables? I want to compile php separately for some websites on the same server where as some of them use the same executable. Can php5-fpm be configured that ...
1
vote
1answer
94 views

Executing a script with ./script.sh fails while “sh script.sh” works

I'm very befuddled by this error and don't even know what to google for: Failure - Executing a script with: ./test.sh bash: ./test.sh: "Permission denied" Works - while these apporeaches work: ...
2
votes
2answers
440 views

Samba/Cifs: Transferring executable permission bits to linux client

I'm trying to get my linux smb/cifs client recognize the executable bits that are set on some files on a share on a linux smb server. Here is our setup: Linux server exporting some directories via ...
2
votes
2answers
285 views

Determing the Execution Environment of Apache

I am having this error: [Mon Dec 05 10:22:23 2011] [warn] mod_rewrite: Running external rewrite maps without defining a RewriteLock is DANGEROUS! [Mon Dec 05 10:22:23 2011] [error] (13)Permission ...
2
votes
2answers
340 views

Why does Windows command prompt stalls until a key is pressed when executing long batch files or programs

I've just had two occurrences of windows 7 stalling an execution until I hit enter on the command prompt/powershell. Afterward execution seems to continue as expected. First was an batch file of copy ...
2
votes
1answer
31 views

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 ...
1
vote
3answers
99 views

How do I tell whether an executable has run or not?

I have an executable I am calling from a third party program. I am calling it using an administrator account with "run as a service" privileges, and the third party program logs report that the ...
3
votes
3answers
238 views

Weird executable behaviour

I have a server machine with ubuntu 9.10. I am trying to put in place an executable, which turns out to be the latest flashplayer (debugger version). Somehow the file appears as present and ...
1
vote
1answer
141 views

Monitor Windows executable while it is loading

Is there Windows software that will allow you to see what an executable is doing while it is loading up? For example, monitor if the executable is modifying the registry, updating the file system, ...
8
votes
4answers
30k views

How do you wait for an exe to complete in batch file?

I'm trying to create a script to execute an exe on shutdown in order to install sp1. my script goes something like (not actual bat script). If installed GOTO END Install.exe END: My problem is ...
1
vote
1answer
1k views

Is it possible to restrict executing an .exe on a network drive with Windows 7?

Can Windows 7 be configured in a way to prevent a user to execute an .exe that is on a network drive, and if so, how could that be done?
0
votes
1answer
80 views

CGI file executes only on local machine, not online

I've got a CGI script written in python (starts with #!/usr/bin/env python) that executes fine on the server. I type in /home/company/server/root/adam/code.cgi and it outputs the right output. I go to ...
0
votes
2answers
439 views

Windows Installer cannot execute EXE install files

When I run the msiexec.exe with an msi file, it runs perfectly. The problem is that many install files are not msi's but exe's. My question is: How can I run an exe file with the msiexec.exe command? ...
0
votes
1answer
443 views

Policy exception for Windows User Account Controls and Update.exe

So... Apparently Windows has a list of filenames that require extra rights to run, included in this list is Update.exe, which happens to be the name of the file I'd like my clients to run without ...
0
votes
1answer
220 views

how to convert EXPECT file to executable file

I am trying to convert EXPECT script that is located in an ubuntu client to a .exe script so that I can execute the EXPECT file from web browser using javascript. Can anyone guide me on how to ...
1
vote
4answers
171 views

Do admins mind exes being copied/installed to the users Application Data folder?

This question is a follow up to Why do some admins dislike exes being executed from a server share? I have developed a utility which makes life much easier for Access developers. One option I will ...
0
votes
2answers
734 views

binary executable working in centos but not in ubuntu

I was trying to install weblogic 9 to test if an application is working correctly when migrated from a previous release. I downloaded the "Oracle WebLogic Server 9.2 MP3" and I was able to install it ...
0
votes
5answers
333 views

A file that exists doesn't exist. (Bash claims a file exists when it doesn't.)

root@omega-15:/var/unreal/src# find ./ircd ./ircd root@omega-15:/var/unreal/src# ./ircd bash: ./ircd: No such file or directory What the hell is this? Bash thinks that the file doesn't exist, when ...
7
votes
5answers
375 views

Why do some admins dislike exes being executed from a server share?

I distribute a utility for developers which is designed to reside on a server share and is executed from the server on the local PC or Terminal Services/Citrix session. It does not require any admin ...
2
votes
2answers
2k views

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 ...
3
votes
0answers
509 views

How do I setup IIS to allow executing external applications?

I have an IIS 7 server setup, where I want execute an external application (locally on the server) from a ASP.NET website, to do some processing of some files. The server seems to find the .exe fine, ...
0
votes
2answers
299 views

How to run an executable of linux/windows server from browser?

Suppose the uri of that executable is known:http://domain.name/exe_uri Will it be executed if we just type it in the address bar?
0
votes
4answers
408 views

Can't run an executable under Linux

I chmod 777'ed an executable and trying to execute it like this: /home/gandalf/./sample but it doesn't work /bin/bash: line 25: ./sample: Permission denied What can be the problem? Thanks.
1
vote
2answers
40 views

Application upgrade triggered from web application on Ubuntu/Linux

On my ubuntu server I have an application MyApp which runs as a daemon with its own user myapp. Then I have a web application MyPortal which runs in apace httpd as user www-data. This application ...
1
vote
2answers
422 views

Cannot run “Automation Anywhere” exe files from console (session 0) on Windows Server 2003 64 bit

I have a simple exe created from an Automation Anywhere task that displays a message box saying hello world. I created this simple exe just for debugging the following issue. When I log in to the ...
0
votes
5answers
251 views

Arbitrary Code Execution on Server

I am trying to build a web application (running on Linux servers) in which the user will upload an executable, the executable will be ran against a particular input available on the server (fed via ...
0
votes
3answers
86 views

running exe makes system unresponsive

I run the file using the command prompt and it got stuck and we had to reboot the server. After the server started I put the exe into another folder and when I run this time it run sucessfully but ...
0
votes
4answers
975 views

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". ...
2
votes
2answers
163 views

Running a server-side executable

I'm making a prototype webserver that needs to be able to run an executable on the server side. How do I get this to work? Do I need to set some permissions on the executable/directory? I'm stuck ...
1
vote
3answers
784 views

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 ...
5
votes
8answers
3k views

Bash can't start a programme that's there and has all the right permissions

This is a gentoo server. There's a programme prog that can't execute. (Yes the execute permission is set) About the file $ ls prog $ ./prog bash: ./prog: No such file or directory $ file prog prog: ...
3
votes
6answers
451 views

Prevent users from marking files as executable?

I want to ensure that users of my system are incapable of chmodding files +x, and I do not want anything in /home/ or /var/ to be executable. I can't put them on separate partitions. Running Ubuntu ...