Jump to content


Photo

Execute a program in the foreground


  • Please log in to reply
1 reply to this topic

#1 Lorian

Lorian
  • Members
  • PipPip
  • Member
  • 19 posts
  • LocationUnited Kingdom

Posted 21 June 2006 - 12:00 PM

Modified title, different problem now, see 2nd post

Is there any way to run applications using exec or system or something as a different user (Ie. not the default SYSTEM user). I have tried runas, but that requires that the password is entered after the command is sent, which is impossible. I tried CPAU, but that gives an error saying it doesn't work under the LocalSystem account. I need to be able to run a program under my username (Chris), but I can't figure out how to do it... Thanks.
Chris Spencer [ aka Lorian ]

[span style=\'font-size:8pt;line-height:100%\']PHP Freaks Community Member
Contact me: corrosivechris (at) gmail d0t com[/span]

#2 Lorian

Lorian
  • Members
  • PipPip
  • Member
  • 19 posts
  • LocationUnited Kingdom

Posted 21 June 2006 - 12:41 PM

Ok, well I managed to get the user as Chris, by changing the user that the Apache service runs at. But now, programs run under my username, but they appear to be in the background, how do I make it into a foreground window?
Chris Spencer [ aka Lorian ]

[span style=\'font-size:8pt;line-height:100%\']PHP Freaks Community Member
Contact me: corrosivechris (at) gmail d0t com[/span]




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users