![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Perl System command calls to variable | 4scriptmoni | Shell Programming and Scripting | 5 | 11-10-2008 12:09 PM |
| [Perl] Accessing array elements within a sed command in Perl script | userix | Shell Programming and Scripting | 2 | 10-03-2008 12:05 PM |
| Need Help w/PERL system command | lorik | Shell Programming and Scripting | 1 | 12-06-2006 08:09 PM |
| perl - system command | reggiej | Shell Programming and Scripting | 5 | 09-26-2005 07:52 PM |
| Perl run system command | gdboling | Shell Programming and Scripting | 1 | 09-02-2003 10:30 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Run system command in perl cgi
Hi guys,
got a problem with a perl cgi script over here. I need it to run a system command to get the status of a process. Unfortunately the process is owned by a specific user and only this user can get its status. So i tried running the command from the perl cgi with "su", but then i get the following logfile entry: Quote:
|
|
||||
|
Gave that a shot too, but the manpage of sudo says the following:
Quote:
Quote:
|
|
||||
|
Ok, seems like now the problem shifted a bit. After trying sudo from within perl, the auth-logfile showed this line:
Quote:
Quote:
Now I don't know how to continue at all. I just don't know Linux quite this well. Anybody got me ideas? |