Sponsored Content
Top Forums Programming c++ : Use of System() to execute .exe with parameters Post 302263816 by nj78 on Tuesday 2nd of December 2008 02:25:39 PM
Old 12-02-2008
Is it the same error?

I would post a more descriptive path to the executable, say what you would key in the cmd window.
 

10 More Discussions You Might Find Interesting

1. Programming

how To edit exe to insert a serial no wich can be usd by runing exe

At time of installation I have to open the resource. and i have to insert a string serial number in the exe. please provide me code to edit the exe (in solaris) to insert a serial number which can be used by exe at run time. (6 Replies)
Discussion started by: ssahu
6 Replies

2. AIX

Execute a command at the system restart

Hi Folks, I have an AIX server and I would like the server to run the command saprouter -r at every system restarts. It needs to be run by a specific user. How would I do that? Thanks!!! (1 Reply)
Discussion started by: brookingsd
1 Replies

3. UNIX for Advanced & Expert Users

How to Find AIX system parameters

System Parameters: maximum number of processes = 2048 Network parameters: ipqmaxlen - 512 rfc1323 - 1 sb_max - 1310720 (2*655360) tcp_recvspace - 65536 tcp_sendspace - 65536 Udp_recvspace - 655360 Udp_sendspace 65536 (1 Reply)
Discussion started by: R00tSc0rpi0n
1 Replies

4. Shell Programming and Scripting

How can I do a rexec to execute un C exe ?

Hello, I would like to do a rexec to execute a C exe (prog.e) : rexec -l user -p password host prog.e When I execute this command, I have this error : prog.e : can not find lib.o But, When I execute prog.e directly in the remote machine : well done ! No error output. Thks for your... (4 Replies)
Discussion started by: Lika
4 Replies

5. Shell Programming and Scripting

Execute shell script in different system

Hi, I have a shell script in systemA and another shell script in systemB. when I execute the script in systemA, it should call the another script in systemB. Please tell me the way to do this. Thanks, Raja. (3 Replies)
Discussion started by: smr_rashmy
3 Replies

6. AIX

System Parameters

Hi, Does anyone know what the System Parameter 'SHMSZ' is and how do I find it? I'm looking for the shared memory size of this particular parameter. Thanks. ---------- Post updated at 11:35 AM ---------- Previous update was at 11:31 AM ---------- Does SHMSZ mean 'Shared Memory SiZe? (2 Replies)
Discussion started by: bbbngowc
2 Replies

7. Solaris

How to get system parameters / information on Sun Solaris 5.10

Hello to everyone, i am new to Sun Solaris. i have Solaris 5.10 installed on the X86 platform. i am writing a script which gathers some system information. but i can not find some of the parameter from the system can any one please suggest to way to find these params. shell command will be... (1 Reply)
Discussion started by: nikhil.sigpro
1 Replies

8. Shell Programming and Scripting

how to execute an exe at startup using rc.local

I want to execute a qt exe program at startup. That is after automatic login instead of loading Desktop and seeing it, the program quickly pop up to the screen. For this, I think we should add the script to rcx.local rather than rc.local I guess though.. I tried adding a script to /etc/rc.local... (0 Replies)
Discussion started by: dr_mabuse
0 Replies

9. UNIX for Dummies Questions & Answers

Not able to execute an exe file from my location

Hello all, Am facing a peculiar problem, I have copied a utility exe from a bin folder into my local temp folder. I am trying to execute that exe, but it throws out an error saying "No such file or directory". I have given 755 & 777 permissions to it and I tried, but it still throws out that... (6 Replies)
Discussion started by: abhisheksunkari
6 Replies

10. Shell Programming and Scripting

How to execute functions or initiate functions as command line parameters for below requirement?

I have 7 functions those need to be executed as command line inputs, I tried with below code it’s not executing function. If I run the ./script 2 then fun2 should execute , how to initiate that function I tried case and if else also, how to initiate function from command line if then... (8 Replies)
Discussion started by: saku
8 Replies
executable_stack(5)						File Formats Manual					       executable_stack(5)

NAME
executable_stack - controls whether program stacks are executable by default VALUES
Failsafe Default Allowed values Recommended values DESCRIPTION
This tunable parameter controls whether program stacks are executable by default. It allows systems to be configured to have extra protec- tion from stack buffer overflow attacks without sacrificing system performance. This class of attack very commonly attempts to trick priv- ileged programs into performing unauthorized actions or giving unauthorized access. Background information on this type of attack is available on the web by searching for 'Smashing the Stack for Fun and Profit.' The majority of programs that run on HP-UX do not need to execute code located on their stacks. A few programs, notably some simulators, interpreters and older versions of Java, may have a legitimate reason to execute code from their stacks. These programs typically have self-modifying code. Using a combination of this tunable and the option of the command permits such executables to function without sacri- ficing protection for the rest of the system. Refer to the 'Restricting Execute Permission on Stacks' section of the chatr(1) manpage for more information before changing this tunable. Who is Expected to Change This Tunable? Anyone. Restrictions on Changing Changes to this tunable take effect for new processes started after the change. When Should the Value of This Tunable Be Changed? This tunable controls operational modes rather than data structure sizes and limits. The appropriate setting for a system depends on whether you consider security or compatibility to be most important. A value of is compatible with previous releases of HP-UX, but it is the least secure. This setting permits the execution of potentially malicious code located on a program's stack. A value of provides warnings about any program attempting to execute code on its stacks, but does not alter the program's behavior. Suspi- cious activity is logged in the kernel's message buffers. (See dmesg(1M).) This is a 'trial mode' setting intended to allow you to safely determine whether a tunable value of would affect any legitimate application. A tunable value of is the recommended setting on systems where a higher level of security is important. This is essentially the same as a setting of but it will also terminate any process that attempts to execute code on its stacks. The process will be terminated before the potentially malicious code is executed. What Are the Side Effects of Changing the Value This tunable has no effect on system behavior unless an application attempts to execute instructions located on its stacks. The majority of HP-UX applications are not programmed to do this. What Other Tunable Values Should Be Changed at the Same Time? None. WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation, some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun- able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was factory installed on your system, see at AUTHOR
was developed by HP. Tunable Kernel Parameters executable_stack(5)
All times are GMT -4. The time now is 05:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy