> -----Original Message-----
> From: owner-slurm-...@lists.llnl.gov [mailto:owner-slurm-
> d...@lists.llnl.gov] On Behalf Of bill.bro...@bull.com
> 
> I would like clarification on an issue:
> sacct man page says:
> 
>        For  the  non-root  user,  the  sacct command limits the display of job
>        accounting data to jobs that were launched with their own user identi-
>        fier  (UID) by default.  Data for other users can be displayed with the
>        --all, --user, or --uid options.

This should say "--allusers", not "--all".
 
> under options says:
> 
>  -a, --allusers
>                  Displays  the  current  user's  jobs. Displays all users jobs
>                  when run by root.
>
> My experimentation shows that by default (no '-a' option) all current user's 
> jobs are displayed &
> for user root all jobs for all users are displayed.  However, using this 
> option allows the current
> user to display jobs for all users.  Is this just a documentation issue?

The behavior is correct.  The documentation fails to describe the differences 
in behavior for root, a user, and the PrivateData setting...
 
> Another question is, should the -a option be honored for a non-root current 
> user if PrivateData=jobs
> is designated in slurm.conf?

No.  If the PrivateData=jobs setting exists, the -a option should not allow the 
invoking user to see reports of other users' jobs.  The doc should say this.

> Best Regards,
> Bill

Reply via email to