From: Chris Los <clos () nhb ! com>
To: tru64-unix-managers
Subject: Display pending batch jobs for all users with "atq"
Date: Fri, 02 Apr 1999 17:01:40 +0000 [thread overview]
Message-ID: <96079040315438.tru64-unix-managers.marc@archive.invalid> (raw)
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
reply other threads:[~1999-04-02 17:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox