Query Process permissions

R

Rob S

Hi,

I've been looking at this problem all afternoon and I'm vexed - would
appreciate some advice. I am running a terminal server (2003) which
runs several instances of the same program - let's call it
proggie.exe.

I'm writing a simple script that a user can run to show them how many
proggie.exe's are running, and who is running them. I've been through
pslist, pmon and a few others and have settled on QUERY PROCESS * (or
QPROCESS *) which seems to do exactly what I want. But only as
Administrator. As Admin I get an output like this:
nag2 rdp-tcp#12 3 1052 proggie.exe
super rdp-tcp#16 4 344 proggie.exe
super rdp-tcp#16 4 2472 proggie.exe

As super (the user who is running the script) it comes out like this:
(unknown) rdp-tcp#12 3 1052 proggie.exe
super rdp-tcp#16 4 344 proggie.exe
super rdp-tcp#16 4 2472 proggie.exe

ie. anyone who isn't super isn't identified.

Any ideas how I can give super enough rights to enable this function?

I've tried adding super to query.exe to no avail.

many thanks
-Rob
robatwork at mail dot com
 
R

Rob S

Thanks for the tip - tried to no avail though unfortunately..

-Rob

-I don't know if this will fix the problem or not but try adding the
-user/group you want to view the process information to the user right for
-"profile single process". More details are given in the link below on that
-user right. --- Steve
-
-http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gp/550.asp
-
--> Hi,
->
-> I've been looking at this problem all afternoon and I'm vexed - would
-> appreciate some advice. I am running a terminal server (2003) which
-> runs several instances of the same program - let's call it
-> proggie.exe.
->
-> I'm writing a simple script that a user can run to show them how many
-> proggie.exe's are running, and who is running them. I've been through
-> pslist, pmon and a few others and have settled on QUERY PROCESS * (or
-> QPROCESS *) which seems to do exactly what I want. But only as
-> Administrator. As Admin I get an output like this:
-> nag2 rdp-tcp#12 3 1052 proggie.exe
-> super rdp-tcp#16 4 344 proggie.exe
-> super rdp-tcp#16 4 2472 proggie.exe
->
-> As super (the user who is running the script) it comes out like this:
-> (unknown) rdp-tcp#12 3 1052 proggie.exe
-> super rdp-tcp#16 4 344 proggie.exe
-> super rdp-tcp#16 4 2472 proggie.exe
->
-> ie. anyone who isn't super isn't identified.
->
-> Any ideas how I can give super enough rights to enable this function?
->
-> I've tried adding super to query.exe to no avail.
->
-> many thanks
-> -Rob
-> robatwork at mail dot com
-

-Rob
robatwork at mail dot com
 
S

Steven L Umbach

OK. Sorry for the dead and thanks for posting back so that I know the
results. I can't think of anything else that may help. --- Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top