From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079040315438.tru64-unix-managers.marc@archive.invalid> From: Chris Los Date: Fri, 02 Apr 1999 17:01:40 +0000 To: tru64-unix-managers Subject: Display pending batch jobs for all users with "atq" X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079040315438 Some of our end-users need the ability to display the status of all pending batch jobs (their own and everybody else's) so they can schedule new jobs appropriately. Typically, I as "root" have been using the "atq" command to display this information. When a non-privileged user executes the same command they see only their jobs. Is their a simple way to give users the ability to see all pending jobs on the queue? Is there another command? I thought by setting "suid" permission on the "atq" command they would adopt root privileges and see the whole picture, but that didn't change a thing. I've also thought of possibly calling this command from inside a small "C" program which has "suid" set, but I see from the archives (for this list) that making system command calls from a "suid" program is not very secure. Any other suggestions? TIA, clos@nhb.com