LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 03-28-2008, 11:59 AM   #1
jlward4th
LQ Newbie
 
Registered: Mar 2008
Posts: 1

Rep: Reputation: 0
Question Exec Process by Writing to a File?


I'm working under some constraints of a runtime that do not allow me to exec processes but that is exactly what I need to do. The runtime does have normal user write access to the filesystem. Can anyone think of some way with only normal user write access to start a process? Is there some /dev /sys or /proc file I can write to that will exec a process? If not I might have to resort to having it exec by adding something to the user's crontab, but that will assume that the user has the correct group / permissions. So it would be nice if there was some other way. Thanks!

-James
 
Old 03-29-2008, 07:52 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 21,593
Blog Entries: 47

Rep: Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409
Quote:
Originally Posted by jlward4th View Post
I'm working under some constraints of a runtime that do not allow me to exec processes but that is exactly what I need to do.
Could you describe unambiguously and in detail what the application is and what you need to spawn?
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Which Process is writing to log file ZAMO Linux - General 2 12-19-2007 02:37 AM
Writing a server process flobadob Linux - General 3 10-28-2006 01:59 PM
Why does exec start a process with new PID? Chowroc Programming 4 01-11-2006 05:55 AM
how can i get the process id on exec a process antony_csf Linux - Software 1 06-17-2004 03:06 AM
writing to child process stdin avikosan Programming 2 11-11-2003 07:06 PM


All times are GMT -5. The time now is 11:13 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration