> Generally, user crontabs are only visible by the owner.

Ok, from now on [1], systemd-cron do it's best to keep those secret:
-) the crontab line is not anymore in the job description
-) "chmod o-r /run/systemd/generator/cron-<user>-<user>-#.(timer|service)"

"systemctl status" is fixed ; and a ordinary user doesn't have access
to the journal.

But, this is not enough; systemd will still leaks the info with
"systemctl show cron-<user>-<user>-0.service -p ExecStart"

You may wish to file a bug/wishlist against systemd.

So, if a user really want to keep is job secret from other users,
it should be stored in /home/user/bin/ and called from his crontab.
The other users will known that the job exist, but won't know its contents.

Alexandre

[1] 
https://github.com/systemd-cron/systemd-cron/commit/2bb61a6b10d5bdc956a830f368ecdea8e1426681


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to