diff --git a/src/scancel/opt.c b/src/scancel/opt.c index eefe94fe2baaac63a9988304169653c72967391f..2f64a116f19784f2f22228983fd129a3ba612817 100644 --- a/src/scancel/opt.c +++ b/src/scancel/opt.c @@ -456,14 +456,6 @@ opt_verify(void) } } - if ((opt.user_id) && - (opt.user_id != getuid()) && - (opt.user_id != geteuid())) { - error ("You are not authorized to delete jobs of user %u", - opt.user_id); - exit (1); - } - if ((opt.job_name == NULL) && (opt.partition == NULL) && (opt.state == JOB_END) &&